source: main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/browser_templates/batchcontainer.pt @ 5092

Last change on this file since 5092 was 5089, checked in by uli, 15 years ago

Update template.

File size: 821 bytes
Line 
1<h2>Manage Access-Code Batches</h2>
2
3<p>
4  The following batches are available:
5</p>
6<table>
7  <thead>
8    <tr>
9      <th>Prefix</th><th>Entries</th><th>Cost</th>
10      <th>Created</th><th>Creator</th>
11    </tr>
12  </thead>
13  <tbody>
14    <tr tal:repeat="batch context/values"
15        tal:attributes="class python: repeat['batch'].odd() and 'even' or 'odd'">
16      <td>
17        <span tal:replace="batch/prefix">APP</span>
18        -
19        <span tal:replace="batch/num">10</span>
20      </td>
21      <td tal:content="batch/entry_num">1012</td>
22      <td tal:content="batch/cost">12.12</td>
23      <td tal:content="python: batch.creation_date.ctime()">2009/12/24</td>
24      <td tal:content="batch/creator">some user</td>
25    </tr>
26    <tr tal:condition="not: context/values">
27      <td colspan="5"><b>No batches yet</b></td>
28    </tr>
29  </tbody>
30</table>
Note: See TracBrowser for help on using the repository browser.