source: main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/accesscodes/browser_templates/batchcontainer.pt @ 11037

Last change on this file since 11037 was 11009, checked in by Henrik Bettermann, 11 years ago

Adjust accesscodes module.

File size: 1.7 KB
Line 
1<form i18n:domain="waeup.kofa" method="POST">
2  <p i18n:translate="">
3    The following batches are available:
4  </p>
5  <div class="table-responsive">
6    <table class="table">
7      <thead>
8        <tr>
9          <th>&nbsp;</th>
10          <th i18n:translate="">Prefix</th>
11          <th i18n:translate="">Entries</th>
12          <th i18n:translate="">Used</th>
13          <th i18n:translate="">Disabled</th>
14          <th i18n:translate="">Cost</th>
15          <th i18n:translate="">Date of Creation</th>
16          <th i18n:translate="">Creator</th>
17        </tr>
18      </thead>
19      <tbody>
20    <tr tal:repeat="batch context/values">
21    <td>
22      <input type="checkbox" name="batches" value="batch/prefix"
23       tal:attributes="value batch/__name__"
24       tal:condition="batch/num" />
25    </td>
26    <td>
27      <span tal:replace="batch/prefix">APP</span>
28      -
29      <span tal:replace="batch/num">10</span>
30    </td>
31    <td>
32      <span tal:replace="batch/entry_num">1012</span>
33    </td>
34    <td>
35      <span tal:replace="batch/used_num">512</span>
36    </td>
37    <td>
38      <span tal:replace="batch/disabled_num">112</span>
39    </td>
40    <td tal:content="batch/cost">12.12</td>
41    <td tal:content="python: batch.creation_date.strftime('%Y-%m-%d %H:%M:%S')">
42        2011-11-22 18:04:55
43    </td>
44    <td tal:content="batch/creator">SOMEUSER</td>
45        </tr>
46        <tr tal:condition="not: context/values">
47        <td colspan="5"><b i18n:translate="">No batches yet</b></td>
48        </tr>
49      </tbody>
50    </table>
51  </div>
52  <input type="submit" class="btn btn-default" name="archive"
53      tal:attributes="value view/archive_button" />
54  <input type="submit" class="btn btn-default" name="delete"
55       tal:attributes="value view/delete_button" />
56</form>
Note: See TracBrowser for help on using the repository browser.