Skip to content

Commit 6db5d70

Browse files
committed
[IMP] theme_anelusia: adapt to new img indicators for gallery
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
1 parent 1d47f8a commit 6db5d70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

theme_anelusia/views/snippets/s_image_gallery.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
<attribute name="src">/web/image/website.library_image_16</attribute>
2727
</xpath>
2828
<!-- Item #2 - Indicator -->
29-
<xpath expr="//ul[hasclass('carousel-indicators')]//li[3]" position="attributes">
30-
<attribute name="style">background-image: url(/web/image/website.library_image_16)</attribute>
29+
<xpath expr="//div[hasclass('carousel-indicators')]//img[2]" position="attributes">
30+
<attribute name="src">/web/image/website.library_image_16</attribute>
3131
</xpath>
3232
</template>
3333

0 commit comments

Comments
 (0)