03b954994bf535a5bb51e35c3d33e77a11aacc96
[Plinn.git] / skins / generic / content_byline.pt
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
5 <title>Content by line</title>
6 </head>
7 <body i18n:domain="plinn">
8 <div id="ContentByLine" metal:define-macro="byline"
9 tal:define="creator here/Creator;
10 creatorFullName python:mtool.getMemberFullNameById(creator, nameBefore=0) ;
11 date python:here.modified();
12 modificationDate python:date.strftime('%d/%m/%Y');
13 modificationTime python:date.strftime('%Hh%M')"
14 i18n:translate="byline">
15 modified on <span tal:replace="modificationDate" i18n:name="date">Today</span>
16 at <span tal:replace="modificationTime" i18n:name="time">Hour</span> – creator:
17 <span tal:replace="creatorFullName" i18n:name="creator">Creator</span>
18 </div>
19 </body>
20 </html>