Ajout utilitaire pour mettre à jour les dates de prise de vues (nécessaire suite...
[Portfolio.git] / skins / photo_info.pt
1 <?xml version="1.0" encoding="UTF-8"?>
2 <div tal:define="locale_date_fmt here/locale_date_fmt"
3 i18n:domain="portfolio"
4 xmlns:i18n="http://xml.zope.org/namespaces/i18n"
5 xmlns:tal="http://xml.zope.org/namespaces/tal">
6 <table class="finder_preview">
7 <tr>
8 <td colspan="2">
9 <div i18n:translate="">Preview:</div>
10 <div class="thumbnail">
11 <img tal:define="size here/getThumbnailSize"
12 tal:attributes="src string:${here/absolute_url}/getThumbnail;
13 width size/width; height size/height; alt here/title_or_id"/>
14 </div>
15 </td>
16 </tr>
17 <tr>
18 <th i18n:translate="">Title</th>
19 <td tal:content="here/title_or_id">Photo title</td>
20 </tr>
21 <tr>
22 <th i18n:translate="">Type</th>
23 <td tal:content="here/content_type">image/jpeg</td>
24 </tr>
25 <tr>
26 <th i18n:translate="">Created</th>
27 <td tal:content="python:here.created().strftime(locale_date_fmt)">creation date</td>
28 </tr>
29 <tr>
30 <th i18n:translate="">Modified</th>
31 <td tal:content="python:here.modified().strftime(locale_date_fmt)">modification date</td>
32 </tr>
33 <tr>
34 <th i18n:translate="">Dimensions</th>
35 <td><span tal:replace="here/width">width</span> × <span tal:replace="here/height">height</span></td>
36 </tr>
37 </table>
38 </div>