source: main/waeup.uniben/trunk/src/waeup/uniben/applicants/browser_templates/applicantdisplaypage.pt @ 15343

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

Simplify pagetemplate.

File size: 3.5 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<h4 tal:condition="view/show_pastq_al">
12  Download past questions
13  <a href="https://uniben.waeup.org/documents/PastArts/file.pdf"
14      i18n:translate="">
15    'Arts And Law'
16  </a>
17   to exercise.
18</h4>
19
20<h4 tal:condition="view/show_pastq_bs">
21  Download past questions
22  <a href="https://uniben.waeup.org/documents/PastBio/file.pdf"
23      i18n:translate="">
24    'Biological Sciences'
25  </a>
26   to exercise.
27</h4>
28
29<h4 tal:condition="view/show_pastq_eps">
30  Download past questions
31  <a href="https://uniben.waeup.org/documents/PastPSC/file.pdf"
32      i18n:translate="">
33    'Engineering And Physical Sciences'
34  </a>
35   to exercise.
36</h4>
37
38<h4 tal:condition="view/show_pastq_mss">
39  Download past questions
40  <a href="https://uniben.waeup.org/documents/PastSSC/file.pdf"
41      i18n:translate="">
42    'Management And Social Sciences'
43  </a>
44   to exercise.
45</h4>
46
47<h4 tal:condition="view/show_pastq_pude">
48  Download
49  <a href="https://uniben.waeup.org/documents/PastPUDE/file.pdf"
50      i18n:translate="">
51    'PUDE Past Questions'
52  </a>
53   to exercise.
54</h4>
55
56<div class="workflow">
57  <div tal:repeat="msg context/history/messages">
58    <span tal:replace="msg">MESSAGE</span><br />
59  </div>
60</div>
61
62<img src="" height="180px" tal:attributes="src view/passport_url" />
63
64<table i18n:domain="waeup.kofa" class="form-table">
65  <tbody>
66    <tal:widgets content="structure provider:widgets" />
67    <tr tal:condition="view/getCourseAdmitted">
68      <td class="fieldname" i18n:translate="">
69          Admitted Course of Study:
70      </td>
71      <td>
72        <span tal:replace="structure view/getCourseAdmitted" />
73      </td>
74    </tr>
75    <tr>
76      <td class="fieldname" i18n:translate="">
77          Password:
78      </td>
79      <td>
80          <tal:password replace="view/hasPassword" />
81      </td>
82    <tr>
83  </tbody>
84</table>
85<tal:payments condition="view/display_payments">
86  <h3  i18n:domain="waeup.kofa" i18n:translate="">
87      Application Fee Payment Tickets
88  </h3>
89  <table i18n:domain="waeup.kofa" class="table table-condensed">
90    <thead>
91      <tr>
92        <th i18n:translate="">Payment Id</th>
93        <th i18n:translate="">Creation Date</th>
94        <th i18n:translate="">Payment Date</th>
95        <th i18n:translate="">Category</th>
96        <th i18n:translate="">Item</th>
97        <th i18n:translate="">State</th>
98      </tr>
99    </thead>
100    <tbody>
101      <tr tal:repeat="value context/payments">
102        <td> <a tal:attributes="href python:view.url(value)">
103        <span tal:content="value/p_id">PID</span></a></td>
104        <td tal:content="python: layout.formatDatetime(value.creation_date)">CREATION DATE</td>
105        <td tal:content="python: layout.formatDatetime(value.payment_date)">PAYMENT DATE</td>
106        <td tal:content ="value/category">CATEGORY</td>
107        <td tal:content ="value/display_item">ITEM</td>
108        <td tal:content ="value/p_state_title">STATE</td>
109      </tr>
110    </tbody>
111  </table>
112</tal:payments>
113<form action="." tal:attributes="action request/URL" method="post"
114      i18n:domain="waeup.kofa">
115  <div tal:condition="view/availableActions">
116    <span tal:repeat="action view/actions"
117          tal:omit-tag="">
118      <input tal:condition="python:action.label in view.display_actions"
119             tal:replace="structure action/render"/>
120    </span>
121  </div>
122</form>
Note: See TracBrowser for help on using the repository browser.