Skip to content

Commit

Permalink
[MIG] website_snippet_marginless_gallery: Migration to version 17.0
Browse files Browse the repository at this point in the history
TT51978
  • Loading branch information
pilarvargas-tecnativa committed Dec 2, 2024
1 parent 398329a commit d4c650b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion website_snippet_marginless_gallery/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{
"name": "Marginless Gallery Snippet",
"summary": "Add a snippet to have a marginless image gallery",
"version": "15.0.1.0.0",
"version": "17.0.1.0.0",
"category": "Website",
"license": "LGPL-3",
"website": "https://github.com/OCA/website",
Expand Down
32 changes: 16 additions & 16 deletions website_snippet_marginless_gallery/views/snippets.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@
<template id="s_marginless_gallery" name="Marginless Gallery">
<section class="marginless-gallery pt32 pb32 text-center">
<div class="container">
<div class="row">
<div class="col-lg-12 text-center">
<div class="row d-flex align-items-stretch">
<div class="o_colored_level o_cc o_cc1 col-lg-12 pb32 pt32 text-center">
<h2 class="o_default_snippet_text pb16">
<b>Our Gallery</b>
</h2>
<p class="lead o_default_snippet_text pb32">
<p class="lead o_default_snippet_text pb16">
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do.
</p>
</div>
<section
class="col-lg-3 col-12 pt32 pb32 oe_img_bg"
class="col-lg-3 pt32 pb32 oe_img_bg"
style="background-image: url('/website/static/src/img/library/bridge.jpg');"
>
<div>
Expand All @@ -26,7 +26,7 @@
</p>
</div>
</section>
<section class="col-lg-3 col-12 pt32 pb32 bg-primary">
<section class="col-lg-3 pt32 pb32 o_colored_level o_cc o_cc4">
<div>
<h4 class="o_default_snippet_text">Lorem ipsum</h4>
<p class="o_default_snippet_text mb0">
Expand All @@ -35,7 +35,7 @@
</div>
</section>
<section
class="col-lg-3 col-12 pt32 pb32 oe_img_bg"
class="col-lg-3 pt32 pb32 oe_img_bg"
style="background-image: url('/website/static/src/img/library/mobile.jpg');"
>
<div>
Expand All @@ -45,47 +45,47 @@
</p>
</div>
</section>
<section class="col-lg-3 col-12 pt32 pb32 bg-o-color-2">
<section class="col-lg-3 pt32 pb32 o_colored_level o_cc o_cc3">
<div>
<h4 class="o_default_snippet_text">Lorem ipsum</h4>
<p class="o_default_snippet_text mb0">
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do.
</p>
</div>
</section>
<section class="col-lg-3 col-12 pt32 pb32 bg-o-color-3">
<section class="col-lg-3 pt32 pb32 o_colored_level o_cc o_cc2">
<div>
<h4 class="o_default_snippet_text">Lorem ipsum</h4>
<p class="o_default_snippet_text mb0">
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do.
</p>
</div>
</section>
<section class="col-lg-3 col-12 pt32 pb32 bg-o-color-5">
<section class="col-lg-3 pt32 pb32 o_colored_level o_cc o_cc5">
<div>
<h4 class="o_default_snippet_text">Lorem ipsum</h4>
<p class="o_default_snippet_text mb0">
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do.
</p>
</div>
</section>
<section class="col-lg-3 col-12 pt32 pb32 bg-o-color-4">
<section class="col-lg-3 pt32 pb32 o_colored_level o_cc o_cc1">
<div>
<h4 class="o_default_snippet_text">Lorem ipsum</h4>
<p class="o_default_snippet_text mb0">
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do.
</p>
</div>
</section>
<section class="col-lg-3 col-12 pt32 pb32 bg-primary">
<section class="col-lg-3 pt32 pb32 o_colored_level o_cc o_cc4">
<div>
<h4 class="o_default_snippet_text">Lorem ipsum</h4>
<p class="o_default_snippet_text mb0">
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do.
</p>
</div>
</section>
<section class="col-lg-3 col-12 pt32 pb32 bg-o-color-2">
<section class="col-lg-3 pt32 pb32 o_colored_level o_cc o_cc3">
<div>
<h4 class="o_default_snippet_text">Lorem ipsum</h4>
<p class="o_default_snippet_text mb0">
Expand All @@ -94,7 +94,7 @@
</div>
</section>
<section
class="col-lg-3 col-12 pt32 pb32 oe_img_bg"
class="col-lg-3 pt32 pb32 oe_img_bg"
style="background-image: url('/website/static/src/img/library/shop.jpg');"
>
<div>
Expand All @@ -104,7 +104,7 @@
</p>
</div>
</section>
<section class="col-lg-3 col-12 pt32 pb32 bg-o-color-3">
<section class="col-lg-3 pt32 pb32 o_colored_level o_cc o_cc2">
<div>
<h4 class="o_default_snippet_text">Lorem ipsum</h4>
<p class="o_default_snippet_text mb0">
Expand All @@ -113,7 +113,7 @@
</div>
</section>
<section
class="col-lg-3 col-12 pt32 pb32 oe_img_bg"
class="col-lg-3 pt32 pb32 oe_img_bg"
style="background-image: url('/website/static/src/img/library/wine.jpg');"
>
<div>
Expand All @@ -128,7 +128,7 @@
</section>
</template>
<template id="snippets" inherit_id="website.snippets">
<xpath expr="//div[@id='snippet_feature']//div[hasclass('o_panel_body')]">
<xpath expr="//div[@id='snippet_structure']//div[hasclass('o_panel_body')]">
<t
t-snippet="website_snippet_marginless_gallery.s_marginless_gallery"
t-thumbnail="/website_snippet_marginless_gallery/static/description/s_website_marginless_gallery.png"
Expand Down

0 comments on commit d4c650b

Please sign in to comment.