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

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

Internationalize accessodes package.

File size: 1.4 KB
Line 
1<form i18n:domain="waeup.sirp" method="POST">
2  <p i18n:translate="">
3    The following batches are available:
4  </p>
5  <table>
6    <thead>
7      <tr>
8        <th>&nbsp;</th>
9        <th i18n:translate="">Prefix</th>
10        <th i18n:translate="">Entries/(invalidated)</th>
11        <th i18n:translate="">Cost</th>
12        <th i18n:translate="">Date of Creation</th>
13        <th i18n:translate="">Creator</th>
14      </tr>
15    </thead>
16    <tbody>
17      <tr tal:repeat="batch context/values">
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/used_num">512</span>
31  </td>
32  <td tal:content="batch/cost">12.12</td>
33  <td tal:content="python: batch.creation_date.strftime('%Y-%m-%d %H:%M:%S')">
34      2011-11-22 18:04:55
35  </td>
36  <td tal:content="batch/creator">SOMEUSER</td>
37      </tr>
38      <tr tal:condition="not: context/values">
39      <td colspan="5"><b i18n:translate="">No batches yet</b></td>
40      </tr>
41    </tbody>
42  </table>
43  <input type="submit" class="btn" name="archive"
44      tal:attributes="value view/archive_button" />
45  <input type="submit" class="btn" name="delete"
46       tal:attributes="value view/delete_button" />
47</form>
Note: See TracBrowser for help on using the repository browser.