Skip to content

Commit 2bf4ebd

Browse files
committed
Merge PR #1205 into 19.0
Signed-off-by pedrobaeza
2 parents 9f3bfd0 + 269f897 commit 2bf4ebd

13 files changed

Lines changed: 777 additions & 0 deletions

File tree

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
.. image:: https://odoo-community.org/readme-banner-image
2+
:target: https://odoo-community.org/get-involved?utm_source=readme
3+
:alt: Odoo Community Association
4+
5+
==========================
6+
Website Forum Subscription
7+
==========================
8+
9+
..
10+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
11+
!! This file is generated by oca-gen-addon-readme !!
12+
!! changes will be overwritten. !!
13+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
14+
!! source digest: sha256:4773ca396ebbb2dfa099d440b30de3aaad3117a7d41418778ac3779e5409c86f
15+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
16+
17+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
18+
:target: https://odoo-community.org/page/development-status
19+
:alt: Beta
20+
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
21+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
22+
:alt: License: AGPL-3
23+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fwebsite-lightgray.png?logo=github
24+
:target: https://github.com/OCA/website/tree/19.0/website_forum_subscription
25+
:alt: OCA/website
26+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
27+
:target: https://translation.odoo-community.org/projects/website-19-0/website-19-0-website_forum_subscription
28+
:alt: Translate me on Weblate
29+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
30+
:target: https://runboat.odoo-community.org/builds?repo=OCA/website&target_branch=19.0
31+
:alt: Try me on Runboat
32+
33+
|badge1| |badge2| |badge3| |badge4| |badge5|
34+
35+
Allows users to subscribe/unsubscribe from forum notifications.
36+
37+
**Table of contents**
38+
39+
.. contents::
40+
:local:
41+
42+
Usage
43+
=====
44+
45+
To use this module, you need to:
46+
47+
1. Go to your website/forum page.
48+
2. If there are several forums, you'll find a subscription button in
49+
every card. Click on it to subscribe or unsubscribe depending on your
50+
forum subscription state.
51+
3. In the main forum page, you'll find the same button on top of the
52+
forum panel. You can proceed in the same manner as above.
53+
54+
Bug Tracker
55+
===========
56+
57+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/website/issues>`_.
58+
In case of trouble, please check there if your issue has already been reported.
59+
If you spotted it first, help us to smash it by providing a detailed and welcomed
60+
`feedback <https://github.com/OCA/website/issues/new?body=module:%20website_forum_subscription%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
61+
62+
Do not contact contributors directly about support or help with technical issues.
63+
64+
Credits
65+
=======
66+
67+
Authors
68+
-------
69+
70+
* Tecnativa
71+
72+
Contributors
73+
------------
74+
75+
- `Tecnativa <https://www.tecnativa.com>`__:
76+
77+
- David Vidal
78+
- Stefan Ungureanu
79+
- Carolina Fernandez
80+
- Pilar Vargas
81+
82+
Maintainers
83+
-----------
84+
85+
This module is maintained by the OCA.
86+
87+
.. image:: https://odoo-community.org/logo.png
88+
:alt: Odoo Community Association
89+
:target: https://odoo-community.org
90+
91+
OCA, or the Odoo Community Association, is a nonprofit organization whose
92+
mission is to support the collaborative development of Odoo features and
93+
promote its widespread use.
94+
95+
This module is part of the `OCA/website <https://github.com/OCA/website/tree/19.0/website_forum_subscription>`_ project on GitHub.
96+
97+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

website_forum_subscription/__init__.py

Whitespace-only changes.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Copyright 2022 Tecnativa David Vidal
2+
# Copyright 2023 Tecnativa Carolina Fernandez
3+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
4+
{
5+
"name": "Website Forum Subscription",
6+
"summary": "Adds a button to allow subscription from the website",
7+
"version": "19.0.1.0.0",
8+
"category": "Website",
9+
"website": "https://github.com/OCA/website",
10+
"author": ("Tecnativa, Odoo Community Association (OCA)"),
11+
"license": "AGPL-3",
12+
"application": False,
13+
"installable": True,
14+
"depends": ["website_forum"],
15+
"data": ["templates/website_forum_templates.xml"],
16+
}
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * website_forum_subscription
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 14.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"POT-Creation-Date: 2022-10-21 13:55+0000\n"
10+
"PO-Revision-Date: 2023-10-15 20:37+0000\n"
11+
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
12+
"Language-Team: \n"
13+
"Language: es\n"
14+
"MIME-Version: 1.0\n"
15+
"Content-Type: text/plain; charset=UTF-8\n"
16+
"Content-Transfer-Encoding: 8bit\n"
17+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
18+
"X-Generator: Weblate 4.17\n"
19+
20+
#. module: website_forum_subscription
21+
#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow
22+
msgid "<i class=\"fa fa-bell\"/> Subscribe to forum notifications"
23+
msgstr "<i class=\"fa fa-bell\"/> Suscribirse a las notificaciones"
24+
25+
#. module: website_forum_subscription
26+
#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow
27+
msgid "<i class=\"fa fa-bell-slash\"/> Unsubscribe from forum notifications"
28+
msgstr "<i class=\"fa fa-bell-slash\"/> Anular suscripción a notificaciones"
29+
30+
#. module: website_forum_subscription
31+
#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow
32+
msgid "<small>Subscribe</small><i class=\"fa fa-fw ms-1\"/>"
33+
msgstr "<small>Suscribirse</small><i class=\"fa fa-fw ms-1\"/>"
34+
35+
#. module: website_forum_subscription
36+
#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow
37+
msgid "<small>Unsubscribe</small><i class=\"fa fa-fw ms-1\"/>"
38+
msgstr "<small>Cancelar suscripción</small><i class=\"fa fa-fw ms-1\"/>"
39+
40+
#~ msgid "<i class=\"fa fa-bell\"/> Subscribe"
41+
#~ msgstr "<i class=\"fa fa-bell\"/> Suscribirse"
42+
43+
#~ msgid "<small>Follow</small><i class=\"fa fa-fw ml-1\"/>"
44+
#~ msgstr "<small>Seguir</small><i class=\"fa fa-fw ml-1\"/>"
45+
46+
#~ msgid "<small>Unfollow</small><i class=\"fa fa-fw ml-1\"/>"
47+
#~ msgstr "<small>Dejar de seguir</small><i class=\"fa fa-fw ml-1\"/>"
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * website_forum_subscription
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 14.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"PO-Revision-Date: 2023-11-14 15:36+0000\n"
10+
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
11+
"Language-Team: none\n"
12+
"Language: it\n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
17+
"X-Generator: Weblate 4.17\n"
18+
19+
#. module: website_forum_subscription
20+
#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow
21+
msgid "<i class=\"fa fa-bell\"/> Subscribe to forum notifications"
22+
msgstr "<i class=\"fa fa-bell\"/> Iscrizione alle notifiche del forum"
23+
24+
#. module: website_forum_subscription
25+
#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow
26+
msgid "<i class=\"fa fa-bell-slash\"/> Unsubscribe from forum notifications"
27+
msgstr ""
28+
"<i class=\"fa fa-bell-slash\"/> Elimina iscrizione alle notifiche del forum"
29+
30+
#. module: website_forum_subscription
31+
#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow
32+
msgid "<small>Subscribe</small><i class=\"fa fa-fw ms-1\"/>"
33+
msgstr "<small>Iscrizione</small><i class=\"fa fa-fw ms-1\"/>"
34+
35+
#. module: website_forum_subscription
36+
#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow
37+
msgid "<small>Unsubscribe</small><i class=\"fa fa-fw ms-1\"/>"
38+
msgstr "<small>Annulla iscrizione</small><i class=\"fa fa-fw ms-1\"/>"
39+
40+
#~ msgid "<small>Subscribe</small><i class=\"fa fa-fw ml-1\"/>"
41+
#~ msgstr "<small>Iscrizione</small><i class=\"fa fa-fw ml-1\"/>"
42+
43+
#~ msgid "<small>Unsubscribe</small><i class=\"fa fa-fw ml-1\"/>"
44+
#~ msgstr "<small>Annulla iscrizione</small><i class=\"fa fa-fw ml-1\"/>"
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * website_forum_subscription
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 18.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"Last-Translator: \n"
10+
"Language-Team: \n"
11+
"MIME-Version: 1.0\n"
12+
"Content-Type: text/plain; charset=UTF-8\n"
13+
"Content-Transfer-Encoding: \n"
14+
"Plural-Forms: \n"
15+
16+
#. module: website_forum_subscription
17+
#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow
18+
msgid "<i class=\"fa fa-bell\"/> Subscribe to forum notifications"
19+
msgstr ""
20+
21+
#. module: website_forum_subscription
22+
#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow
23+
msgid "<i class=\"fa fa-bell-slash\"/> Unsubscribe from forum notifications"
24+
msgstr ""
25+
26+
#. module: website_forum_subscription
27+
#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow
28+
msgid ""
29+
"<small>Subscribe</small>\n"
30+
" <i class=\"fa fa-fw ms-1\"/>"
31+
msgstr ""
32+
33+
#. module: website_forum_subscription
34+
#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow
35+
msgid ""
36+
"<small>Unsubscribe</small>\n"
37+
" <i class=\"fa fa-fw ms-1\"/>"
38+
msgstr ""
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["whool"]
3+
build-backend = "whool.buildapi"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
- [Tecnativa](https://www.tecnativa.com):
2+
- David Vidal
3+
- Stefan Ungureanu
4+
- Carolina Fernandez
5+
- Pilar Vargas
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Allows users to subscribe/unsubscribe from forum notifications.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
To use this module, you need to:
2+
3+
1. Go to your website/forum page.
4+
2. If there are several forums, you'll find a subscription button in
5+
every card. Click on it to subscribe or unsubscribe depending on
6+
your forum subscription state.
7+
3. In the main forum page, you'll find the same button on top of the
8+
forum panel. You can proceed in the same manner as above.

0 commit comments

Comments
 (0)