Skip to content

Commit

Permalink
[IMP] theme_anelusia: adapt to new img indicators for gallery
Browse files Browse the repository at this point in the history
Now, the gallery indicators are `img` tags instead of using background
images. This is done to allow the translation of the indicators image.

task-3626918
  • Loading branch information
Guillaume-gdi committed Feb 6, 2024
1 parent 1d47f8a commit 6db5d70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions theme_anelusia/views/snippets/s_image_gallery.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
<attribute name="src">/web/image/website.library_image_16</attribute>
</xpath>
<!-- Item #2 - Indicator -->
<xpath expr="//ul[hasclass('carousel-indicators')]//li[3]" position="attributes">
<attribute name="style">background-image: url(/web/image/website.library_image_16)</attribute>
<xpath expr="//div[hasclass('carousel-indicators')]//img[2]" position="attributes">
<attribute name="src">/web/image/website.library_image_16</attribute>
</xpath>
</template>

Expand Down

0 comments on commit 6db5d70

Please sign in to comment.