source: main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser_templates/applicantdisplaypage.pt @ 14395

Last change on this file since 14395 was 13968, checked in by Henrik Bettermann, 8 years ago

Make provision against storing other objects than applicant payments in applicant containers.

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