Updated default renderer
authorThierry Florac <thierry.florac@onf.fr>
Mon, 27 Aug 2018 11:31:05 +0200
changeset 120 5d82a621433b
parent 119 d87742a2d404
child 121 81cd2db6df7a
Updated default renderer
src/pyams_default_theme/component/gallery/templates/renderer-default.pt
--- a/src/pyams_default_theme/component/gallery/templates/renderer-default.pt	Mon Aug 27 11:09:01 2018 +0200
+++ b/src/pyams_default_theme/component/gallery/templates/renderer-default.pt	Mon Aug 27 11:31:05 2018 +0200
@@ -31,7 +31,7 @@
 												  ${image_url}/++thumb++xs:w768?_=${timestamp} 768w" />
 			<!-- fallback image -->
 			<img style="width: 100%;"
-				 tal:attributes="alt alt; src image_url" />
+				 tal:attributes="alt i18n:image.alt_title; src image_url" />
 		</picture>
 	</tal:loop>
 </div>