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

Last change on this file since 5928 was 5928, checked in by Henrik Bettermann, 13 years ago

Fix AddApplicantsContainer? update method.

File size: 1.2 KB
Line 
1<h2>Access Code Batches</h2>
2
3  <p>
4    The following batches are available:
5  </p>
6
7  <table>
8    <thead>
9      <tr>
10        <th>&nbsp;</th>
11        <th>Prefix</th><th>Entries/(invalidated)</th><th>Cost</th>
12        <th>Created</th><th>Creator</th>
13      </tr>
14    </thead>
15    <tbody>
16      <tr tal:repeat="batch context/values"
17          tal:attributes="class python: repeat['batch'].odd() and 'even' or 'odd'">
18        <td>
19          <input type="checkbox" name="batches" value="batch/prefix"
20                 tal:attributes="value batch/__name__" />
21        </td>
22        <td>
23          <span tal:replace="batch/prefix">APP</span>
24          -
25          <span tal:replace="batch/num">10</span>
26        </td>
27        <td>
28          <span tal:replace="batch/entry_num">1012</span>
29          /
30          <span tal:replace="batch/invalidated_num">512</span>
31        </td>
32        <td tal:content="batch/cost">12.12</td>
33        <td tal:content="python: batch.creation_date.ctime()">2009/12/24</td>
34        <td tal:content="batch/creator">some user</td>
35      </tr>
36      <tr tal:condition="not: context/values">
37        <td colspan="5"><b>No batches yet</b></td>
38      </tr>
39    </tbody>
40  </table>
41 
42<form method="POST"> 
43  <input type="submit" name="archive" value="Archive" />
44  <input type="submit" name="delete" value="Archive and Delete" />
45</form>
Note: See TracBrowser for help on using the repository browser.