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