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

Last change on this file since 5106 was 5103, checked in by uli, 14 years ago

Show also number of invalidated ACs.

File size: 924 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/(invalidated)</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>
22        <span tal:replace="batch/entry_num">1012</span>
23        /
24        <span tal:replace="python: view.invalidated(batch)">512</span>
25      </td>
26      <td tal:content="batch/cost">12.12</td>
27      <td tal:content="python: batch.creation_date.ctime()">2009/12/24</td>
28      <td tal:content="batch/creator">some user</td>
29    </tr>
30    <tr tal:condition="not: context/values">
31      <td colspan="5"><b>No batches yet</b></td>
32    </tr>
33  </tbody>
34</table>
Note: See TracBrowser for help on using the repository browser.