loops/organize/tracking/report.pt
helmutm 4697c0a22d additional German translations
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@3037 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-12-06 11:25:35 +00:00

57 lines
1.8 KiB
XML

<metal:report define-macro="report"
tal:define="info item/getData">
<h2 i18n:translate=""
tal:content="item/title|default">Statistics Report</h2><br />
<metal:listing use-macro="info/macro" />
</metal:report>
<metal:overview define-macro="overview">
<table class="listing">
<tr>
<th i18n:translate="">Period</th>
<th i18n:translate="">Access</th>
<th i18n:translate="">Changes</th>
<th i18n:translate="">Additions</th>
<th i18n:translate="">Total</th>
</tr>
<tr tal:repeat="row info/data"
tal:attributes="class python: repeat['row'].odd() and 'even' or 'odd'">
<td tal:content="row/period"></td>
<td class="number"
tal:content="row/access"></td>
<td class="number"
tal:content="row/changed"></td>
<td class="number"
tal:content="row/new"></td>
<td class="number"
tal:content="row/count"></td>
</tr>
</table>
</metal:overview>
<metal:recent define-macro="recent_changes">
<table class="listing">
<tr>
<th i18n:translate="">Title</th>
<th i18n:translate="">User</th>
<th i18n:translate="">Date/Time</th>
<th i18n:translate="">Change</th>
</tr>
<tr tal:repeat="row info/data"
tal:attributes="class python: repeat['row'].odd() and 'even' or 'odd'">
<td tal:define="url row/object/url">
<a tal:attributes="href url"
tal:omit-tag="not:url"
tal:content="row/object/title" /></td>
<td tal:define="url row/user/url">
<a tal:attributes="href url"
tal:omit-tag="not:url"
tal:content="row/user/title" /></td>
<td tal:content="row/timeStamp"></td>
<td i18n:translate=""
tal:content="row/action"></td>
</tr>
</table>
</metal:recent>