source: main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantdisplaypage.pt @ 7319

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

Define formatDatetime (for displaying datetime objects in data tables) centrally in layout.py.

File size: 1.8 KB
Line 
1<h2 i18n:translate=""
2    tal:condition="view/label"
3    tal:content="view/label">Label</h2>
4
5<h2> ... <span tal:replace="context/state">Application State</span> ... </h2>
6
7<div class="workflow">
8  <div tal:repeat="msg context/history/messages">
9    <span tal:replace="msg">message</span><br />
10  </div>
11</div>
12
13<img src="" tal:attributes="src view/passport_url" />
14
15<table class="zebra">
16  <tbody>
17    <tal:block repeat="widget view/widgets">
18      <tr>
19        <td class="fieldname">
20          <tal:block content="widget/label"/>:
21        </td>
22        <td>
23          <span tal:replace="structure widget" />
24        </td>
25      </tr>
26    </tal:block>
27    <tr>
28      <td class="fieldname">
29          Admitted Course of Study:
30      </td>
31      <td>
32        <span tal:replace="structure view/getCourseAdmitted" />
33      </td>
34    </tr>
35    <tr>
36      <td class="fieldname">
37          Password:
38      </td>
39      <td>
40          <tal:password replace="view/hasPassword" />
41      </td>
42    <tr>
43  </tbody>
44</table>
45<h3 i18n:translate="">Acceptance Fee Payment Tickets</h3>
46<table class="zebra">
47  <thead>
48    <tr>
49      <th>Payment Id</th>
50      <th>Creation Date</th>
51      <th>Payment Date</th>
52      <th>Category</th>
53      <th>Item</th>
54      <th>State</th>
55    </tr>
56  </thead>
57  <tbody>
58    <tr tal:repeat="value context/values">
59      <td> <a tal:attributes="href value/__name__">
60      <span tal:content="value/p_id">PID</span></a></td>
61      <td tal:content="python: layout.formatDatetime(value.creation_date)">CREATION DATE</td>
62      <td tal:content="python: layout.formatDatetime(value.payment_date)">PAYMENT DATE</td>
63      <td tal:content ="value/category">CATEGORY</td>
64      <td tal:content ="value/p_item">ITEM</td>
65      <td tal:content ="value/state">STATE</td>
66    </tr>
67  </tbody>
68</table>
Note: See TracBrowser for help on using the repository browser.