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

Last change on this file since 15587 was 15502, checked in by Henrik Bettermann, 5 years ago

Add passport picture switch to applicants containers.

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