Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
f05a78a
Add module website_marginless_gallery.
Jul 28, 2015
c38601b
[IMP] website_snippet_marginless_gallery: Image
pedrobaeza Dec 28, 2015
d1e3054
Allow to avoid trimming images.
Dec 28, 2015
ef36752
[MIG][website_snippet_marginless_gallery] Migrate to v9
yajo Jul 25, 2017
c1bba0f
[CI] Fix .rst lint errors
chienandalu Jun 11, 2018
515ec62
[12.0][MIG] website_snippet_marginless_gallery: Migration to v12
Feb 11, 2019
58572e6
Translated using Weblate (French)
Jul 28, 2019
94f523d
Translated using Weblate (Portuguese (Brazil))
Sep 3, 2019
3023bc2
Translated using Weblate (Spanish)
claudiagn Oct 6, 2020
9d13c1b
Added translation using Weblate (Catalan)
claudiagn Feb 17, 2021
e5de62a
Translated using Weblate (Catalan)
claudiagn Feb 17, 2021
c6a658e
[MIG] website_snippet_marginless_gallery: Migration to 13.0
Tardo Dec 30, 2021
b6e2de1
[MIG] website_snippet_marginless_gallery: Migration to version 15.0
pilarvargas-tecnativa Jan 17, 2023
cfc6f63
Translated using Weblate (German)
NICO-SOLUTIONS Jun 20, 2023
c79f3b2
Translated using Weblate (Italian)
mymage Nov 14, 2023
da54fd9
[IMP] website_snippet_marginless_gallery: pre-commit auto fixes
pilarvargas-tecnativa Nov 29, 2024
965a2ad
[MIG] website_snippet_marginless_gallery: Migration to version 17.0
pilarvargas-tecnativa Dec 2, 2024
2fc428f
[MIG] website_snippet_marginless_gallery: Migration to version 19.0
pilarvargas-tecnativa Aug 5, 2026
d257240
[UPD] Update website_snippet_marginless_gallery.pot
Aug 10, 2026
5d3a790
[BOT] post-merge updates
OCA-git-bot Aug 10, 2026
e145344
[IMP] website_snippet_marginless_gallery: pre-commit auto fixes
AngryAndrii Oct 7, 2026
7e4de98
[MIG] website_snippet_marginless_gallery: Migration to 20.0
AngryAndrii Oct 7, 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
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/20.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-20-0/website-20-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=20.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:%2020.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/20.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": "20.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
Loading