-
-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
132 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg | ||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | ||
:alt: License: AGPL-3 | ||
|
||
=========== | ||
Event Share | ||
=========== | ||
|
||
This module brings the users the possibility to globally enable/disable a share | ||
links block that will be displayed in every event post. | ||
|
||
Usage | ||
===== | ||
|
||
1. Go to the website events menu. | ||
2. Open one of your events. | ||
3. Click on the customize button. | ||
4. Toggle the share button option to enable/disable the share links block. | ||
|
||
NB: Although you set the option from a specific event, every event is going to | ||
be set as well. | ||
|
||
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas | ||
:alt: Try me on Runbot | ||
:target: https://runbot.odoo-community.org/runbot/199/12.0 | ||
|
||
Know issues / Roadmap | ||
===================== | ||
|
||
* Share event configuration is set on all events. No individual configuration | ||
for each event | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/event/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. | ||
|
||
Credits | ||
======= | ||
|
||
Contributors | ||
------------ | ||
|
||
* Andhitia Rama <andhitia.r@gmail.com> | ||
* Vicent Cubells <vicent.cubells@tecnativa.com> | ||
* David Vidal <david.vidal@tecnativa.com> | ||
* Cristina Martin R. | ||
|
||
Maintainer | ||
---------- | ||
|
||
.. image:: https://odoo-community.org/logo.png | ||
:alt: Odoo Community Association | ||
:target: https://odoo-community.org | ||
|
||
This module is maintained by the OCA. | ||
|
||
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. | ||
|
||
To contribute to this module, please visit https://odoo-community.org. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Copyright 2016 OpenSynergy Indonesia | ||
# Copyright 2016 Tecnativa - Vicent Cubells | ||
# Copyright 2017 Tecnativa - David Vidal | ||
# Copyright 2019 Tecnativa - Cristina Martin R. | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
|
||
{ | ||
'name': 'Event Share', | ||
'version': '12.0.1.0.0', | ||
'summary': 'Share your events via social media', | ||
'author': 'OpenSynergy Indonesia,' | ||
'Tecnativa, ' | ||
'Odoo Community Association (OCA)', | ||
'website': 'https://opensynergy-indonesia.com', | ||
'category': 'Marketing', | ||
'depends': ['website_event'], | ||
'data': ['views/website_event.xml'], | ||
'installable': True, | ||
'license': 'AGPL-3', | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 10.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" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
* Andhitia Rama <andhitia.r@gmail.com> | ||
|
||
* `Tecnativa <https://www.tecnativa.com>`__: | ||
|
||
* Vicent Cubells | ||
* David Vidal | ||
* Cristina Martin R. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
This module brings the users the possibility to globally enable/disable a share | ||
links block that will be displayed in every event post. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
1. Go to the website events menu. | ||
2. Open one of your events. | ||
3. Click on the customize button. | ||
4. Toggle the share button option to enable/disable the share links block. | ||
|
||
NB: Although you set the option from a specific event, every event is going to | ||
be set as well. |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- Copyright 2016 OpenSynergy Indonesia | ||
Copyright 2016 Tecnativa - Vicent Cubells | ||
Copyright 2017 Tecnativa - David Vidal | ||
Copyright 2019 Tecnativa - Cristina Martin R. | ||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). --> | ||
<odoo> | ||
<template id="event_share" name="Share Button" inherit_id="website_event.event_details" customize_show="True"> | ||
<xpath expr="//h4[@t-field='event.address_id']" position="after"> | ||
<t t-call="website.s_share"> | ||
<t t-set="_classes" t-value="'text-center pt16 pb16'"/> | ||
<t t-set="_no_title" t-value="True"/> | ||
</t> | ||
</xpath> | ||
</template> | ||
</odoo> |