Always set timestamp in pictogram URL
authorThierry Florac <thierry.florac@onf.fr>
Mon, 09 Jul 2018 17:15:35 +0200
changeset 816 7d0eda828276
parent 815 5be2aa7fc4e0
child 817 8b7ef935dcda
Always set timestamp in pictogram URL
src/pyams_content/component/paragraph/zmi/pictogram.py
--- a/src/pyams_content/component/paragraph/zmi/pictogram.py	Mon Jul 09 13:39:20 2018 +0200
+++ b/src/pyams_content/component/paragraph/zmi/pictogram.py	Mon Jul 09 17:15:35 2018 +0200
@@ -228,7 +228,7 @@
         if pictogram is not None:
             image = II18n(pictogram).query_attribute('image', request=self.request)
             if image:
-                return render_image(image, 48, 48, self.request)
+                return render_image(image, 48, 48, self.request, timestamp=True)
         return '--'