source: main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/applicants/browser_templates/applicantdisplaypage.pt @ 15361

Last change on this file since 15361 was 15131, checked in by Henrik Bettermann, 6 years ago

Hide workflow state and history if admission checking fee has not been paid.

File size: 2.5 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 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>
68<br />
69<form action="." tal:attributes="action request/URL" method="post"
70      i18n:domain="waeup.kofa">
71  <div tal:condition="view/availableActions">
72    <span tal:repeat="action view/actions"
73          tal:omit-tag="">
74      <input tal:condition="python:action.label in view.display_actions"
75             tal:replace="structure action/render"/>
76    </span>
77  </div>
78</form>
Note: See TracBrowser for help on using the repository browser.