Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
fc7a3ef
Add module website_marginless_gallery.
Jul 28, 2015
4cd1df9
[IMP] website_snippet_marginless_gallery: Image
pedrobaeza Dec 28, 2015
7a4de3e
Allow to avoid trimming images.
Dec 28, 2015
2bcdf23
[MIG][website_snippet_marginless_gallery] Migrate to v9
yajo Jul 25, 2017
8b01db5
[CI] Fix .rst lint errors
chienandalu Jun 11, 2018
6d725b8
[12.0][MIG] website_snippet_marginless_gallery: Migration to v12
Feb 11, 2019
dd162da
Translated using Weblate (French)
Jul 28, 2019
dcb241e
Translated using Weblate (Portuguese (Brazil))
Sep 3, 2019
d4cd85b
Translated using Weblate (Spanish)
claudiagn Oct 6, 2020
307cf37
Added translation using Weblate (Catalan)
claudiagn Feb 17, 2021
b2e8208
Translated using Weblate (Catalan)
claudiagn Feb 17, 2021
0e28b29
[MIG] website_snippet_marginless_gallery: Migration to 13.0
Tardo Dec 30, 2021
2e17f06
[MIG] website_snippet_marginless_gallery: Migration to version 15.0
pilarvargas-tecnativa Jan 17, 2023
b430613
Translated using Weblate (German)
NICO-SOLUTIONS Jun 20, 2023
5f4bd27
Translated using Weblate (Italian)
mymage Nov 14, 2023
2b2858f
[IMP] website_snippet_marginless_gallery: pre-commit auto fixes
pilarvargas-tecnativa Nov 29, 2024
4130e2d
[MIG] website_snippet_marginless_gallery: Migration to version 17.0
pilarvargas-tecnativa Dec 2, 2024
0e02f1d
[MIG] website_snippet_marginless_gallery: Migration to version 19.0
pilarvargas-tecnativa Aug 5, 2026
35ab399
Merge PR #1209 into 19.0
OCA-git-bot Aug 10, 2026
cfcac09
[UPD] Update website_snippet_marginless_gallery.pot
Aug 10, 2026
0fdd6d4
[BOT] post-merge updates
OCA-git-bot Aug 10, 2026
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ addon | version | maintainers | summary
[website_form_require_legal](website_form_require_legal/) | 19.0.1.0.1 | | Add possibility to require confirm legal terms.
[website_forum_subscription](website_forum_subscription/) | 19.0.1.0.0 | | Adds a button to allow subscription from the website
[website_google_tag_manager](website_google_tag_manager/) | 19.0.1.0.0 | | Add support for Google Tag Manager
[website_snippet_marginless_gallery](website_snippet_marginless_gallery/) | 19.0.1.0.0 | | Add a snippet to have a marginless image gallery

[//]: # (end addons)

Expand Down
3 changes: 2 additions & 1 deletion setup/_metapackage/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
[project]
name = "odoo-addons-oca-website"
version = "19.0.20260713.0"
version = "19.0.20260810.0"
dependencies = [
"odoo-addon-website_cookiefirst==19.0.*",
"odoo-addon-website_form_require_legal==19.0.*",
"odoo-addon-website_forum_subscription==19.0.*",
"odoo-addon-website_google_tag_manager==19.0.*",
"odoo-addon-website_snippet_marginless_gallery==19.0.*",
]
classifiers=[
"Programming Language :: Python",
Expand Down
104 changes: 104 additions & 0 deletions website_snippet_marginless_gallery/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

==========================
Marginless Gallery Snippet
==========================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:a0a9d9acc8e90af022186aee3cddc0275b773b7c84e70963248352587a67b8b9
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/license-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/19.0/website_snippet_marginless_gallery
:alt: OCA/website
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/website-19-0/website-19-0-website_snippet_marginless_gallery
: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=19.0
:alt: Try me on Runboat

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

This module extends the functionality of the website module to add a new
snippet that forms a marginless gallery and allow you to create a grid
of photos that have no spaces between themselves.

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module, you need to:

- Edit any page on your website.
- In the **Blocks** tab, click the **Images** category.
- In the dialog that opens, click the **Marginless Gallery** building
block to add it to the page.

To change images, you need to:

- Select any image block in the snippet you just created.
- Go to **Style > Background** and choose any background you want.
- Backgrounds will be centered and cover the whole element in any
layout.

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_marginless_gallery%0Aversion:%2019.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
* 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/19.0/website_snippet_marginless_gallery>`_ 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_marginless_gallery/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Copyright 2015-2017 Tecnativa - Jairo Llopis <jairo.llopis@tecnativa.com>
# Copyright 2019 Tecnativa - Cristina Martin R.
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
{
"name": "Marginless Gallery Snippet",
"summary": "Add a snippet to have a marginless image gallery",
"version": "19.0.1.0.0",
"category": "Website",
"license": "LGPL-3",
"website": "https://github.com/OCA/website",
"author": "Grupo ESOC Ingeniería de Servicios, "
"Tecnativa, "
"Odoo Community Association (OCA)",
"application": False,
"installable": True,
"images": ["images/marginless_gallery.png"],
"depends": ["website"],
"data": ["views/snippets.xml"],
"assets": {
"web.assets_tests": [
"/website_snippet_marginless_gallery/static/src/tests/tours/*.esm.js"
]
},
}
43 changes: 43 additions & 0 deletions website_snippet_marginless_gallery/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_snippet_marginless_gallery
#
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 <claudia.gargallo@qubiq.es>\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_marginless_gallery
#: model_terms:ir.ui.view,arch_db:website_snippet_marginless_gallery.s_marginless_gallery
msgid "<b>Our Gallery</b>"
msgstr "<b> La nostra galeria </b>"

#. module: website_snippet_marginless_gallery
#: model_terms:ir.ui.view,arch_db:website_snippet_marginless_gallery.s_marginless_gallery
msgid "Lorem ipsum"
msgstr "Lorem ipsum"

#. module: website_snippet_marginless_gallery
#: model_terms:ir.ui.view,arch_db:website_snippet_marginless_gallery.s_marginless_gallery
msgid "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do."
msgstr "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do."

#, python-format
#~ msgid "<b>Click Edit</b> to start designing your homepage."
#~ msgstr ""
#~ "<b> Feu clic a Edita </b> per començar a dissenyar la vostra pàgina "
#~ "d'inici."

#, python-format
#~ msgid "Drag <i>Marginless Gallery</i> and drop it on the page."
#~ msgstr ""
#~ "Arrossegueu <i> Galeria sense marge </i> i deixeu-lo anar a la pàgina."
58 changes: 58 additions & 0 deletions website_snippet_marginless_gallery/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_snippet_marginless_gallery
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-10-13 00:49+0000\n"
"PO-Revision-Date: 2023-06-20 11:08+0000\n"
"Last-Translator: Nils Coenen <nils.coenen@nico-solutions.de>\n"
"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n"
"Language: de\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_marginless_gallery
#: model_terms:ir.ui.view,arch_db:website_snippet_marginless_gallery.s_marginless_gallery
msgid "<b>Our Gallery</b>"
msgstr "<b>Unsere Gallerie</b>"

#. module: website_snippet_marginless_gallery
#: model_terms:ir.ui.view,arch_db:website_snippet_marginless_gallery.s_marginless_gallery
msgid "Lorem ipsum"
msgstr "Lorem ipsum"

#. module: website_snippet_marginless_gallery
#: model_terms:ir.ui.view,arch_db:website_snippet_marginless_gallery.s_marginless_gallery
#, fuzzy
msgid "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do."
msgstr ""
"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod "
"tempor incididunt ut labore et dolore magna."

#, python-format
#~ msgid "<b>Click Edit</b> to start designing your homepage."
#~ msgstr ""
#~ "<b>Klicken Sie auf Bearbeiten</b>, um mit der Gestaltung Ihrer Homepage "
#~ "zu beginnen."

#, python-format
#~ msgid "Drag <i>Marginless Gallery</i> and drop it on the page."
#~ msgstr ""
#~ "Ziehen Sie die <i>Randlose Gallerie</i> per Drag-and-Drop auf die Seite."

#~ msgid "Change Images Height"
#~ msgstr "Ändere Bildhöhe"

#~ msgid "Height for all images in gallery"
#~ msgstr "Höhe aller Bilder in der Gallerie"

#~ msgid "Image height in pixels"
#~ msgstr "Bildhöhe in Pixeln"
55 changes: 55 additions & 0 deletions website_snippet_marginless_gallery/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_snippet_marginless_gallery
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-10-13 00:49+0000\n"
"PO-Revision-Date: 2020-10-06 17:16+0000\n"
"Last-Translator: claudiagn <claudia.gargallo@qubiq.es>\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_marginless_gallery
#: model_terms:ir.ui.view,arch_db:website_snippet_marginless_gallery.s_marginless_gallery
msgid "<b>Our Gallery</b>"
msgstr "<b>Nuestra Galería</b>"

#. module: website_snippet_marginless_gallery
#: model_terms:ir.ui.view,arch_db:website_snippet_marginless_gallery.s_marginless_gallery
msgid "Lorem ipsum"
msgstr "Lorem ipsum"

#. module: website_snippet_marginless_gallery
#: model_terms:ir.ui.view,arch_db:website_snippet_marginless_gallery.s_marginless_gallery
msgid "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do."
msgstr "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do."

#, python-format
#~ msgid "<b>Click Edit</b> to start designing your homepage."
#~ msgstr "<b>Clica Editar</b> para empezar a diseñar tu página de entrada."

#, python-format
#~ msgid "Drag <i>Marginless Gallery</i> and drop it on the page."
#~ msgstr "Arrastra<i>Galería sin márgenes</i> y suéltala en la página."

#~ msgid "Change Images Height"
#~ msgstr "Cambiar la altura de las imágenes"

#~ msgid "Do not trim images"
#~ msgstr "No recortar las imágenes"

#~ msgid "Height for all images in gallery"
#~ msgstr "Altura para todas las imágenes de la galería"

#~ msgid "Image height in pixels"
#~ msgstr "Altura de imagen en píxeles"
67 changes: 67 additions & 0 deletions website_snippet_marginless_gallery/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_snippet_marginless_gallery
#
# Translators:
# Quentin THEURET <odoo@kerpeo.com>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-10-13 00:49+0000\n"
"PO-Revision-Date: 2019-07-28 11:47+0000\n"
"Last-Translator: jcleonard2018 <jcl@solutionsmakers.fr>\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 3.7.1\n"

#. module: website_snippet_marginless_gallery
#: model_terms:ir.ui.view,arch_db:website_snippet_marginless_gallery.s_marginless_gallery
msgid "<b>Our Gallery</b>"
msgstr "<b>Notre galerie</b>"

#. module: website_snippet_marginless_gallery
#: model_terms:ir.ui.view,arch_db:website_snippet_marginless_gallery.s_marginless_gallery
msgid "Lorem ipsum"
msgstr "Lorem ipsum"

#. module: website_snippet_marginless_gallery
#: model_terms:ir.ui.view,arch_db:website_snippet_marginless_gallery.s_marginless_gallery
msgid "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do."
msgstr "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do."

#, python-format
#~ msgid "<b>Click Edit</b> to start designing your homepage."
#~ msgstr ""
#~ "<b>Clique Editer</b> pour commencer à concevoir votre page d'accueil."

#, python-format
#~ msgid "Drag <i>Marginless Gallery</i> and drop it on the page."
#~ msgstr ""
#~ "Faites glisser <i>la galerie en marge</i> et déplacez là dans la page."

#~ msgid "%s is not a valid value"
#~ msgstr "%sn'est pas une valeur valide"

#~ msgid ""
#~ "All photos must have the same height or the\n"
#~ " gallery layout will be broken"
#~ msgstr ""
#~ "Toutes les photos doivent avoir la même hauteur ou \n"
#~ " l'affichage de la galerie sera cassé"

#~ msgid "Change Images Height"
#~ msgstr "Modifier la hauteur des images"

#~ msgid "Do not trim images"
#~ msgstr "Ne pas réduire les images"

#~ msgid "Height for all images in gallery"
#~ msgstr "Hauteur pour toutes les images dans la galerie"

#~ msgid "Image height in pixels"
#~ msgstr "Hauteur de l'image en pixels"
Loading