Ajout option showDateTimeOriginal pour afficher la date de prise de vue.
authorBenoît Pin <benoit.pin@gmail.com>
Mon, 30 Jun 2014 05:15:37 +0000 (07:15 +0200)
committerBenoît Pin <benoit.pin@gmail.com>
Mon, 30 Jun 2014 05:15:37 +0000 (07:15 +0200)
skins/photo_view.pt

index c311a1b..f17f22b 100644 (file)
                     <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>