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

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

Move form label to site layout pagetemplates. This saves even more code.

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