# HG changeset patch # User tflorac@xsup98-004.onf.fr # Date 1507839677 -7200 # Node ID 9992778530058f1a451e6692c48ab5d8ed176f8c # Parent 6e6aa46a5d87068e97a14fd552467e1b5470422f Updated file and image widgets templates diff -r 6e6aa46a5d87 -r 999277853005 src/pyams_file/widget/templates/file-display.pt --- a/src/pyams_file/widget/templates/file-display.pt Wed Sep 20 14:04:03 2017 +0200 +++ b/src/pyams_file/widget/templates/file-display.pt Thu Oct 12 22:21:17 2017 +0200 @@ -17,7 +17,7 @@ Download diff -r 6e6aa46a5d87 -r 999277853005 src/pyams_file/widget/templates/file-input.pt --- a/src/pyams_file/widget/templates/file-input.pt Wed Sep 20 14:04:03 2017 +0200 +++ b/src/pyams_file/widget/templates/file-input.pt Thu Oct 12 22:21:17 2017 +0200 @@ -1,5 +1,5 @@ -
-
+ +
Browse...
-
- -
+
+ +
-
+ diff -r 6e6aa46a5d87 -r 999277853005 src/pyams_file/widget/templates/image-display.pt --- a/src/pyams_file/widget/templates/image-display.pt Wed Sep 20 14:04:03 2017 +0200 +++ b/src/pyams_file/widget/templates/image-display.pt Thu Oct 12 22:21:17 2017 +0200 @@ -12,7 +12,8 @@ title="Zoom image" i18n:attributes="title"> + tal:attributes="src extension:absolute_url(thumbnail); + title i18n:context.title;" title="" src="" alt="" />
Current value: @@ -24,7 +25,7 @@
Download diff -r 6e6aa46a5d87 -r 999277853005 src/pyams_file/widget/templates/image-input.pt --- a/src/pyams_file/widget/templates/image-input.pt Wed Sep 20 14:04:03 2017 +0200 +++ b/src/pyams_file/widget/templates/image-input.pt Thu Oct 12 22:21:17 2017 +0200 @@ -1,5 +1,5 @@ -
-
+ +
Browse...
-
- -
-
+