forked from OCA/website
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ADD] website_crm_privacy_policy addon
- Fix review comments - Icon changed - Remove website_legal_page depedency - Set Privacy policy link for opening in new tab, in order to not change user focus and avoid losing any data entered by user in contactus form - [IMP] README and OCA as author
- Loading branch information
Showing
11 changed files
with
568 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,64 @@ | ||
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg | ||
:alt: License: AGPL-3 | ||
|
||
Website CRM privacy policy | ||
========================== | ||
|
||
This module was written to add a checkbox to contact us form for user privacy | ||
policy validation | ||
|
||
Privacy policy is provided by Website legal page addon (website_legal_page) | ||
|
||
Usage | ||
===== | ||
|
||
Website editors can change easily any text of these pages using website builder | ||
|
||
|
||
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 | ||
`here <https://github.com/OCA/website/issues/new?body=module:%20website_crm_privacy_policy%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
|
||
|
||
Credits | ||
======= | ||
|
||
Icon | ||
---- | ||
|
||
Icon based on ```johnny-automatic-scales-of-justice.svg``` from | ||
[Openclipart](https://openclipart.org/detail/26849/scales-of-justice) and | ||
```jetxee-check-sign-and-cross-sign.svg``` from | ||
[Openclipart](https://openclipart.org/detail/11118/check-sign-and-cross-sign) | ||
|
||
Thanks to: | ||
* [johnny_automatic](https://openclipart.org/user-detail/johnny_automatic) | ||
* [jetxee](https://openclipart.org/user-detail/jetxee) | ||
|
||
|
||
Contributors | ||
------------ | ||
|
||
* Jorge Camacho <[email protected]> | ||
* Antonio Espinosa <[email protected]> | ||
* Rafael Blasco <[email protected]> | ||
|
||
|
||
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 http://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,3 @@ | ||
# -*- coding: utf-8 -*- | ||
# Python source code encoding : https://www.python.org/dev/peps/pep-0263/ | ||
############################################################################## |
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,45 @@ | ||
# -*- coding: utf-8 -*- | ||
# Python source code encoding : https://www.python.org/dev/peps/pep-0263/ | ||
############################################################################## | ||
# | ||
# OpenERP, Odoo Source Management Solution | ||
# Copyright (c) 2014-Today Trey, Kilobytes de Soluciones <www.trey.es> | ||
# Jorge Camacho <[email protected]> | ||
# Copyright (c) 2015 Antiun Ingeniería S.L. (http://www.antiun.com) | ||
# Antonio Espinosa <[email protected]> | ||
# | ||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU Affero General Public License as published | ||
# by the Free Software Foundation, either version 3 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU Affero General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU Affero General Public License | ||
# along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
# | ||
############################################################################## | ||
{ | ||
'name': 'Website CRM privacy policy', | ||
'category': 'Website', | ||
'version': '1.0', | ||
'depends': [ | ||
'website', | ||
'website_crm', | ||
], | ||
'data': [ | ||
'views/assets.xml', | ||
'views/templates.xml', | ||
], | ||
'author': 'Trey, ' | ||
'Antiun Ingeniería S.L., ' | ||
'Odoo Community Association (OCA)', | ||
'website': 'http://www.trey.es', | ||
'license': 'AGPL-3', | ||
'demo': [], | ||
'test': [], | ||
'installable': True, | ||
} |
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,38 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * website_crm_privacy_policy | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 8.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2015-06-22 12:18+0000\n" | ||
"PO-Revision-Date: 2015-06-22 12:18+0000\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_crm_privacy_policy | ||
#: view:website:website.contactus | ||
msgid "I have read and accept the" | ||
msgstr "He leído y acepto la" | ||
|
||
#. module: website_crm_privacy_policy | ||
#: view:website:website.contactus | ||
msgid "Privacy Policy" | ||
msgstr "Política de Privacidad" | ||
|
||
#. module: website_crm_privacy_policy | ||
#. openerp-web | ||
#: code:addons/website_crm_privacy_policy/static/src/js/scripts.js:43 | ||
#, python-format | ||
msgid "You must accept our Privacy Policy." | ||
msgstr "Es obligatorio aceptar la Política de Privacidad." | ||
|
||
#. module: website_crm_privacy_policy | ||
#: view:website:website.contactus | ||
msgid "btn btn-primary btn-block" | ||
msgstr "btn btn-primary btn-block" |
39 changes: 39 additions & 0 deletions
39
website_crm_privacy_policy/i18n/website_crm_privacy_policy.pot
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,39 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * website_crm_privacy_policy | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 8.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2015-06-22 12:18+0000\n" | ||
"PO-Revision-Date: 2015-06-22 12:18+0000\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_crm_privacy_policy | ||
#: view:website:website.contactus | ||
msgid "I have read and accept the" | ||
msgstr "" | ||
|
||
#. module: website_crm_privacy_policy | ||
#: view:website:website.contactus | ||
msgid "Privacy Policy" | ||
msgstr "" | ||
|
||
#. module: website_crm_privacy_policy | ||
#. openerp-web | ||
#: code:addons/website_crm_privacy_policy/static/src/js/scripts.js:43 | ||
#, python-format | ||
msgid "You must accept our Privacy Policy." | ||
msgstr "" | ||
|
||
#. module: website_crm_privacy_policy | ||
#: view:website:website.contactus | ||
msgid "btn btn-primary btn-block" | ||
msgstr "" | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
198 changes: 198 additions & 0 deletions
198
website_crm_privacy_policy/static/description/jetxee-check-sign-and-cross-sign.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.