projects
/
Portfolio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
a217142
)
Ajout option showDateTimeOriginal pour afficher la date de prise de vue.
author
Benoît Pin
<benoit.pin@gmail.com>
Mon, 30 Jun 2014 05:15:37 +0000
(07:15 +0200)
committer
Benoît Pin
<benoit.pin@gmail.com>
Mon, 30 Jun 2014 05:15:37 +0000
(07:15 +0200)
skins/photo_view.pt
patch
|
blob
|
history
diff --git
a/skins/photo_view.pt
b/skins/photo_view.pt
index
c311a1b
..
f17f22b
100644
(file)
--- 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>
<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>
<div class="description" tal:content="here/Description"></div>
<div tal:define="keywords here/Subject" tal:condition="keywords">
<h4 i18n:translate="">Keywords</h4>