Updated thumbnail URL
authorThierry Florac <thierry.florac@onf.fr>
Tue, 12 Sep 2017 11:29:48 +0200
changeset 55 3a73f9a24fc5
parent 54 0823fdd41bbe
child 56 426a8b8538d0
Updated thumbnail URL
src/pyams_file/widget/templates/file-display.pt
--- a/src/pyams_file/widget/templates/file-display.pt	Mon Sep 11 15:00:56 2017 +0200
+++ b/src/pyams_file/widget/templates/file-display.pt	Tue Sep 12 11:29:48 2017 +0200
@@ -4,7 +4,7 @@
 		 tal:condition="value">
 		<div class="pull-left margin-5 margin-right-10">
 			<img class="thumbnail no-border"
-				 tal:attributes="src string:/--static--/pyams_skin/img/mimetypes/${view/get_thumbnail}" />
+				 tal:attributes="src view/get_thumbnail" />
 		</div>
 		<div class="margin-top-5">
 			<span i18n:translate="">Current value: </span>