Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[15.0][MIG] website_snippet_big_button: Migration to version 15.0 #940

Merged
merged 18 commits into from
Jan 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions setup/website_snippet_big_button/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
92 changes: 92 additions & 0 deletions website_snippet_big_button/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
===================
Big Buttons Snippet
===================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fwebsite-lightgray.png?logo=github
:target: https://github.com/OCA/website/tree/15.0/website_snippet_big_button
:alt: OCA/website
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/website-15-0/website-15-0-website_snippet_big_button
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/webui/builds.html?repo=OCA/website&target_branch=15.0
:alt: Try me on Runboat

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

This module was written to extend the functionality of website to support
inserting a block with a "like" and "not like" button and allow you to
customize their links, to provide a better UX for your visitors.

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module, you need to:

* Edit any web page.
* Go to **Blocks > Big Buttons**.
* Drag it anywhere.

You can edit the link anywhere on the button.

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_snippet_big_button%0Aversion:%2015.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
~~~~~~~

* Grupo ESOC Ingeniería de Servicios
* S.L.U.
* Tecnativa

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

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

* Jairo Llopis
* Cristina Martin R.
* Pilar Vargas

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/15.0/website_snippet_big_button>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Empty file.
24 changes: 24 additions & 0 deletions website_snippet_big_button/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Copyright 2015-2016 Tecnativa - Jairo Llopis <[email protected]>
# Copyright 2019 Tecnativa - Cristina Martin R.
# Copyright 2022 Tecnativa - Guillermo Gallego <[email protected]>
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
{
"name": "Big Buttons Snippet",
"summary": "A snippet that adds two big buttons",
"version": "15.0.1.0.0",
"category": "Website",
"website": "https://github.com/OCA/website",
"author": "Grupo ESOC Ingeniería de Servicios, S.L.U., "
"Tecnativa, "
"Odoo Community Association (OCA)",
"license": "LGPL-3",
"application": False,
"installable": True,
"depends": ["website"],
"data": ["templates/snippets.xml"],
"assets": {
"web.assets_frontend": [
"/website_snippet_big_button/static/src/scss/website_snippet_big_button.scss"
]
},
}
44 changes: 44 additions & 0 deletions website_snippet_big_button/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_snippet_big_button
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2021-02-17 18:45+0000\n"
"Last-Translator: claudiagn <[email protected]>\n"
"Language-Team: none\n"
"Language: ca\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.3.2\n"

#. module: website_snippet_big_button
#: model_terms:ir.ui.view,arch_db:website_snippet_big_button.s_big_button
msgid ""
"<span class=\"h3 d-block\">I want another thing</span>\n"
" <i class=\"fa fa-thumbs-o-down fa-5x mt16 mb16\"/"
">\n"
" <span class=\"d-block\">Continue searching</span>"
msgstr ""
"<span class=\"h3 d-block\">Vull una altra cosa</span>\n"
" <i class=\"fa fa-thumbs-o-down fa-5x mt16 mb16\"/"
">\n"
" <span class=\"d-block\">Segueix buscant</span>"

#. module: website_snippet_big_button
#: model_terms:ir.ui.view,arch_db:website_snippet_big_button.s_big_button
msgid ""
"<span class=\"h3 d-block\">I want this</span>\n"
" <i class=\"fa fa-thumbs-o-up fa-5x mt16 mb16\"/"
">\n"
" <span class=\"d-block\">Request budget</span>"
msgstr ""
"<span class=\"h3 d-block\">Vull això</span>\n"
" <i class=\"fa fa-thumbs-o-up fa-5x mt16 mb16\"/"
">\n"
" <span class=\"d-block\">Sol·licita pressupost</"
"span>"
59 changes: 59 additions & 0 deletions website_snippet_big_button/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_snippet_big_button
#
# Translators:
# OCA Transbot <[email protected]>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-12-24 04:17+0000\n"
"PO-Revision-Date: 2020-10-06 17:16+0000\n"
"Last-Translator: claudiagn <[email protected]>\n"
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n"
"Language: es\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 3.10\n"

#. module: website_snippet_big_button
#: model_terms:ir.ui.view,arch_db:website_snippet_big_button.s_big_button
msgid ""
"<span class=\"h3 d-block\">I want another thing</span>\n"
" <i class=\"fa fa-thumbs-o-down fa-5x mt16 mb16\"/"
">\n"
" <span class=\"d-block\">Continue searching</span>"
msgstr ""
"<span class=\"h3 d-block\">Quiero otra cosa</span>\n"
" <i class=\"fa fa-thumbs-o-down fa-5x mt16 mb16\""
"/>\n"
" <span class=\"d-block\">Sigue buscando</span>"

#. module: website_snippet_big_button
#: model_terms:ir.ui.view,arch_db:website_snippet_big_button.s_big_button
msgid ""
"<span class=\"h3 d-block\">I want this</span>\n"
" <i class=\"fa fa-thumbs-o-up fa-5x mt16 mb16\"/"
">\n"
" <span class=\"d-block\">Request budget</span>"
msgstr ""
"<span class=\"h3 d-block\">Quiero esto</span>\n"
" <i class=\"fa fa-thumbs-o-up fa-5x mt16 mb16\"/>"
"\n"
" <span class=\"d-block\">Solicita "
"presupuesto</span>"

#~ msgid "Continue searching"
#~ msgstr "Seguir buscando"

#~ msgid "I want another thing"
#~ msgstr "Quiero otra cosa"

#~ msgid "I want this"
#~ msgstr "Quiero esto"

#~ msgid "Request budget"
#~ msgstr "Solicitar presupuesto"
53 changes: 53 additions & 0 deletions website_snippet_big_button/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_snippet_big_button
#
# Translators:
# Pascal ZIMMERMANN <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-02-25 04:21+0000\n"
"PO-Revision-Date: 2021-06-21 13:16+0000\n"
"Last-Translator: Yann Papouin <[email protected]>\n"
"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n"
"Language: fr\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.3.2\n"

#. module: website_snippet_big_button
#: model_terms:ir.ui.view,arch_db:website_snippet_big_button.s_big_button
msgid ""
"<span class=\"h3 d-block\">I want another thing</span>\n"
" <i class=\"fa fa-thumbs-o-down fa-5x mt16 mb16\"/"
">\n"
" <span class=\"d-block\">Continue searching</span>"
msgstr ""
"<span class=\"h3 d-block\">Je veux une autre chose</span>\n"
" <i class=\"fa fa-thumbs-o-down fa-5x mt16 mb16\""
"/>\n"
" <span class=\"d-block\">Continuer de "
"chercher</span>"

#. module: website_snippet_big_button
#: model_terms:ir.ui.view,arch_db:website_snippet_big_button.s_big_button
msgid ""
"<span class=\"h3 d-block\">I want this</span>\n"
" <i class=\"fa fa-thumbs-o-up fa-5x mt16 mb16\"/"
">\n"
" <span class=\"d-block\">Request budget</span>"
msgstr ""
"<span class=\"h3 d-block\">Je veux cela</span>\n"
" <i class=\"fa fa-thumbs-o-up fa-5x mt16 mb16\"/>"
"\n"
" <span class=\"d-block\">Budget demandé</span>"

#~ msgid "Continue searching"
#~ msgstr "Continuer la recherche"

#~ msgid "I want another thing"
#~ msgstr "Je veux autre chose"
36 changes: 36 additions & 0 deletions website_snippet_big_button/i18n/hr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_snippet_big_button
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2019-11-13 18:34+0000\n"
"Last-Translator: Bole <[email protected]>\n"
"Language-Team: none\n"
"Language: hr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<="
"4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 3.8\n"

#. module: website_snippet_big_button
#: model_terms:ir.ui.view,arch_db:website_snippet_big_button.s_big_button
msgid "<span class=\"h3 d-block\">I want another thing</span>\n"
" <i class=\"fa fa-thumbs-o-down fa-5x mt16 mb16\"/>\n"
" <span class=\"d-block\">Continue searching</span>"
msgstr ""
"<span class=\"h3 d-block\">Trebam još nešto</span>\n"
" <i class=\"fa fa-thumbs-o-down fa-5x mt16 mb16\""
"/>\n"
" <span class=\"d-block\">Nastavi pretragu</span>"

#. module: website_snippet_big_button
#: model_terms:ir.ui.view,arch_db:website_snippet_big_button.s_big_button
msgid "<span class=\"h3 d-block\">I want this</span>\n"
" <i class=\"fa fa-thumbs-o-up fa-5x mt16 mb16\"/>\n"
" <span class=\"d-block\">Request budget</span>"
msgstr ""
61 changes: 61 additions & 0 deletions website_snippet_big_button/i18n/pt_BR.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_snippet_big_button
#
# Translators:
# Armando Vulcano Junior <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-10-13 00:48+0000\n"
"PO-Revision-Date: 2019-09-02 21:23+0000\n"
"Last-Translator: Rodrigo Macedo <[email protected]>\n"
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/"
"23907/pt_BR/)\n"
"Language: pt_BR\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 3.8\n"

#. module: website_snippet_big_button
#: model_terms:ir.ui.view,arch_db:website_snippet_big_button.s_big_button
msgid ""
"<span class=\"h3 d-block\">I want another thing</span>\n"
" <i class=\"fa fa-thumbs-o-down fa-5x mt16 mb16\"/"
">\n"
" <span class=\"d-block\">Continue searching</span>"
msgstr ""
"<span class=\"h3 d-block\">Quero outra coisa</span>\n"
" <i class=\"fa fa-thumbs-o-down fa-5x mt16 mb16\""
"/>\n"
" <span class=\"d-block\">Continue "
"pesquisando</span>"

#. module: website_snippet_big_button
#: model_terms:ir.ui.view,arch_db:website_snippet_big_button.s_big_button
msgid ""
"<span class=\"h3 d-block\">I want this</span>\n"
" <i class=\"fa fa-thumbs-o-up fa-5x mt16 mb16\"/"
">\n"
" <span class=\"d-block\">Request budget</span>"
msgstr ""
"<span class=\"h3 d-block\">Quero isto</span>\n"
" <i class=\"fa fa-thumbs-o-up fa-5x mt16 mb16\"/>"
"\n"
" <span class=\"d-block\">Solicitar "
"orçamento</span>"

#~ msgid "Continue searching"
#~ msgstr "Continue procurando"

#~ msgid "I want another thing"
#~ msgstr "Eu quero outra coisa"

#~ msgid "I want this"
#~ msgstr "Eu quero isso"

#~ msgid "Request budget"
#~ msgstr "Solicitar orçamento"
Loading