Explorar o código

https://assistance.opentalent.fr/browse/V8-1987

Olivier Massot %!s(int64=4) %!d(string=hai) anos
pai
achega
9f8ee5988f

+ 2 - 2
ot_templating/Resources/Private/Templates/Content/Carousel.html

@@ -33,7 +33,7 @@
         <p>Carrousel</p>
 
         <div class="be-carousel-preview">
-            <f:for each="{v:content.resources.fal(field: 'images', uid: '{record.uid}')}"
+            <f:for each="{v:content.resources.fal(field: 'images', record: '{record}')}"
                    as="image"
                    iteration="iterator">
                 <f:if condition="{v:variable.pregMatch(pattern: '/.*(?:jpe?g|gif|png)$/', subject: image.url)}">
@@ -54,7 +54,7 @@
 
         <div class="center-carousel">
             <div class="carousel" style="max-width:{width}px; max-height:{height}px">
-                <f:for each="{v:content.resources.fal(field: 'images', uid: '{record.uid}')}"
+                <f:for each="{v:content.resources.fal(field: 'images', record: '{record}')}"
                        as="image"
                        iteration="iterator">
                     <div style="height: {height}px">