X-Git-Url: https://svn.cri.ensmp.fr/git/Portfolio.git/blobdiff_plain/5b7fe372434690e2dc2f1f72b78181986614f3e3..9d15a219a1b6910463064c64f9c211c606b4b5eb:/skins/photo_view.pt

diff --git a/skins/photo_view.pt b/skins/photo_view.pt
index c311a1b..f17f22b 100644
--- a/skins/photo_view.pt
+++ b/skins/photo_view.pt
@@ -111,7 +111,8 @@
                     <span class="photographer" tal:define="creator here/Creator" tal:content="python:'%s :' % creator" tal:condition="creator">Benoît PIN</span>
                     <span class="title_summary" tal:content="title"></span>
                   </span>
-                  <div tal:content="python:here.DateTimeOriginal().strftime(_('%m/%d/%Y %H:%M:%S'))"></div>
+                  <div tal:condition="here/showDateTimeOriginal|nothing"
+                       tal:content="python:here.DateTimeOriginal().strftime(_('%m/%d/%Y %H:%M:%S'))"></div>
                   <div class="description" tal:content="here/Description"></div>
                   <div tal:define="keywords here/Subject" tal:condition="keywords">
                     <h4 i18n:translate="">Keywords</h4>