Skip to content

Commit

Permalink
Merge PR #1072 into 17.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Nov 28, 2024
2 parents a74c1d2 + 406b4e4 commit 72efb3a
Show file tree
Hide file tree
Showing 20 changed files with 1,125 additions and 0 deletions.
95 changes: 95 additions & 0 deletions website_snippet_big_button/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
===================
Big Buttons Snippet
===================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:6839b4417e9e5ab25b8eb8ba687d9e797da3337d1bcccf18c3e9e913cf1d4caa
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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/17.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-17-0/website-17-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/builds?repo=OCA/website&target_branch=17.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 to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/website/issues/new?body=module:%20website_snippet_big_button%0Aversion:%2017.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/17.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": "17.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"
40 changes: 40 additions & 0 deletions website_snippet_big_button/i18n/hr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# 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 ""
42 changes: 42 additions & 0 deletions website_snippet_big_button/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_snippet_big_button
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-14 15:36+0000\n"
"Last-Translator: mymage <[email protected]>\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.17\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\">Cerco un'altra cosa</span>\n"
" <i class=\"fa fa-thumbs-o-down fa-5x mt16 mb16\""
"/>\n"
" <span class=\"d-block\">Continuare la "
"ricerca</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\">Cerco questo</span>\n"
" <i class=\"fa fa-thumbs-o-up fa-5x mt16 mb16\"/>"
"\n"
" <span class=\"d-block\">Richiesta budget</span>"
Loading

0 comments on commit 72efb3a

Please sign in to comment.