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">
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"/>
18 <th i18n:translate="">Title</th>
19 <td tal:content="here/title_or_id">Photo title</td>
22 <th i18n:translate="">Type</th>
23 <td tal:content="here/content_type">image/jpeg</td>
26 <th i18n:translate="">Created</th>
27 <td tal:content="python:here.created().strftime(locale_date_fmt)">creation date</td>
30 <th i18n:translate="">Modified</th>
31 <td tal:content="python:here.modified().strftime(locale_date_fmt)">modification date</td>
34 <th i18n:translate="">Dimensions</th>
35 <td><span tal:replace="here/width">width</span> x <span tal:replace="here/height">height</span></td>