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

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

Do not store a reference to a certificate but a dictionary with the code, title, department title and faculty title of certificates. In this way we can preserve the information even if the certificate has been removed.

The assignment of dynamic roles is not necessary in the application section. We can assign local roles in applicants containers. That's sufficient.

File size: 1.9 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          Department:
30      </td>
31      <td>
32        <span tal:replace="view/getDepartmentAdmitted" />
33      </td>
34    </tr>
35    <tr>
36      <td class="fieldname">
37          Faculty:
38      </td>
39      <td>
40        <span tal:replace="view/getFacultyAdmitted" />
41      </td>
42    </tr>
43    <tr>
44      <td class="fieldname">
45          Password:
46      </td>
47      <td>
48          <tal:password replace="view/hasPassword" />
49      </td>
50    <tr>
51  </tbody>
52</table>
53<h3 i18n:translate="">Acceptance Fee Payment Tickets</h3>
54<table class="zebra">
55  <thead>
56    <tr>
57      <th>Payment Id</th>
58      <th>Creation Date</th>
59      <th>Payment Date</th>
60      <th>Category</th>
61      <th>Item</th>
62      <th>State</th>
63    </tr>
64  </thead>
65  <tbody>
66    <tr tal:repeat="value context/values">
67      <td> <a tal:attributes="href value/__name__">
68      <span tal:content="value/p_id">PID</span></a></td>
69      <td tal:content="python: layout.formatDatetime(value.creation_date)">CREATION DATE</td>
70      <td tal:content="python: layout.formatDatetime(value.payment_date)">PAYMENT DATE</td>
71      <td tal:content ="value/category">CATEGORY</td>
72      <td tal:content ="value/p_item">ITEM</td>
73      <td tal:content ="value/state">STATE</td>
74    </tr>
75  </tbody>
76</table>
Note: See TracBrowser for help on using the repository browser.