Skip to content

Commit

Permalink
[ADD] website_forum_subscription: New module
Browse files Browse the repository at this point in the history
TT39738
  • Loading branch information
chienandalu authored and carolinafernandez-tecnativa committed Oct 3, 2023
1 parent 89529a8 commit 2ada7ba
Show file tree
Hide file tree
Showing 12 changed files with 733 additions and 0 deletions.
86 changes: 86 additions & 0 deletions website_forum_subscription/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
==========================
Website Forum Subscription
==========================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fwebsite-lightgray.png?logo=github
:target: https://github.com/OCA/website/tree/14.0/website_forum_subscription
:alt: OCA/website
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/website-14-0/website-14-0-website_forum_subscription
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/186/14.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

Allows users to subscribe/unsubscribe from forum notifications.

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module, you need to:

#. Go to your website/forum page.
#. If there are several forums, you'll find a subscription button in every card. Click
on it to subscribe or unsubscribe depending on your forum subscription state.
#. In the main forum page, you'll find the same button on top of the forum panel.
You can proceed in the same manner as above.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/website/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/website/issues/new?body=module:%20website_forum_subscription%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Tecnativa

Contributors
~~~~~~~~~~~~

* `Tecnativa <https://www.tecnativa.com>`__:

* David Vidal

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/website <https://github.com/OCA/website/tree/14.0/website_forum_subscription>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Empty file.
15 changes: 15 additions & 0 deletions website_forum_subscription/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright 2022 Tecnativa David Vidal
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Website Forum Subscription",
"summary": "Adds a button to allow subscription from the website",
"version": "14.0.1.0.0",
"category": "Website",
"website": "https://github.com/OCA/website",
"author": ("Tecnativa, " "Odoo Community Association (OCA)"),
"license": "AGPL-3",
"application": False,
"installable": True,
"depends": ["website_forum"],
"data": ["templates/website_forum_templates.xml"],
}
47 changes: 47 additions & 0 deletions website_forum_subscription/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_forum_subscription
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-10-21 13:55+0000\n"
"PO-Revision-Date: 2022-10-21 16:00+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: \n"
"X-Generator: Poedit 2.3\n"

#. module: website_forum_subscription
#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow
msgid "<i class=\"fa fa-bell\"/> Subscribe to forum notifications"
msgstr "<i class=\"fa fa-bell\"/> Suscribirse a las notificaciones"

#. module: website_forum_subscription
#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow
msgid "<i class=\"fa fa-bell-slash\"/> Unsubscribe from forum notifications"
msgstr "<i class=\"fa fa-bell-slash\"/> Anular suscripción a notificaciones"

#. module: website_forum_subscription
#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow
msgid "<small>Subscribe</small><i class=\"fa fa-fw ml-1\"/>"
msgstr ""

#. module: website_forum_subscription
#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow
msgid "<small>Unsubscribe</small><i class=\"fa fa-fw ml-1\"/>"
msgstr ""

#~ msgid "<i class=\"fa fa-bell\"/> Subscribe"
#~ msgstr "<i class=\"fa fa-bell\"/> Suscribirse"

#~ msgid "<small>Follow</small><i class=\"fa fa-fw ml-1\"/>"
#~ msgstr "<small>Seguir</small><i class=\"fa fa-fw ml-1\"/>"

#~ msgid "<small>Unfollow</small><i class=\"fa fa-fw ml-1\"/>"
#~ msgstr "<small>Dejar de seguir</small><i class=\"fa fa-fw ml-1\"/>"
38 changes: 38 additions & 0 deletions website_forum_subscription/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_forum_subscription
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2022-12-27 17:45+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.14.1\n"

#. module: website_forum_subscription
#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow
msgid "<i class=\"fa fa-bell\"/> Subscribe to forum notifications"
msgstr "<i class=\"fa fa-bell\"/> Iscrizione alle notifiche del forum"

#. module: website_forum_subscription
#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow
msgid "<i class=\"fa fa-bell-slash\"/> Unsubscribe from forum notifications"
msgstr ""
"<i class=\"fa fa-bell-slash\"/> Elimina iscrizione alle notifiche del forum"

#. module: website_forum_subscription
#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow
msgid "<small>Subscribe</small><i class=\"fa fa-fw ml-1\"/>"
msgstr "<small>Iscrizione</small><i class=\"fa fa-fw ml-1\"/>"

#. module: website_forum_subscription
#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow
msgid "<small>Unsubscribe</small><i class=\"fa fa-fw ml-1\"/>"
msgstr "<small>Annulla iscrizione</small><i class=\"fa fa-fw ml-1\"/>"
34 changes: 34 additions & 0 deletions website_forum_subscription/i18n/website_forum_subscription.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_forum_subscription
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: website_forum_subscription
#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow
msgid "<i class=\"fa fa-bell\"/> Subscribe to forum notifications"
msgstr ""

#. module: website_forum_subscription
#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow
msgid "<i class=\"fa fa-bell-slash\"/> Unsubscribe from forum notifications"
msgstr ""

#. module: website_forum_subscription
#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow
msgid "<small>Subscribe</small><i class=\"fa fa-fw ml-1\"/>"
msgstr ""

#. module: website_forum_subscription
#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow
msgid "<small>Unsubscribe</small><i class=\"fa fa-fw ml-1\"/>"
msgstr ""
3 changes: 3 additions & 0 deletions website_forum_subscription/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* `Tecnativa <https://www.tecnativa.com>`__:

* David Vidal
1 change: 1 addition & 0 deletions website_forum_subscription/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Allows users to subscribe/unsubscribe from forum notifications.
7 changes: 7 additions & 0 deletions website_forum_subscription/readme/USAGE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
To use this module, you need to:

#. Go to your website/forum page.
#. If there are several forums, you'll find a subscription button in every card. Click
on it to subscribe or unsubscribe depending on your forum subscription state.
#. In the main forum page, you'll find the same button on top of the forum panel.
You can proceed in the same manner as above.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 2ada7ba

Please sign in to comment.