source: main/waeup.kofa/branches/uli-fix-zc-async/src/waeup/kofa/applicants/browser_templates/applicantdisplaypage.pt @ 17364

Last change on this file since 17364 was 16093, checked in by Henrik Bettermann, 4 years ago

Do show referee report link if applicant.

File size: 3.4 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:files condition="view/file_links">
23      <tr>
24        <td class="separator" colspan=2>
25          Files
26        </td>
27      </tr>
28      <tr>
29        <td colspan=2>
30          <span tal:replace="structure view/file_links" />
31        </td>
32      </tr>
33    </tal:files>
34    <tal:widgets content="structure provider:widgets" />
35    <tr tal:condition="view/getCourseAdmitted">
36      <td class="fieldname" i18n:translate="">
37          Admitted Course of Study:
38      </td>
39      <td>
40        <span tal:replace="structure view/getCourseAdmitted" />
41      </td>
42    </tr>
43    <tr>
44      <td class="fieldname" i18n:translate="">
45          Password:
46      </td>
47      <td>
48          <tal:password replace="view/hasPassword" />
49      </td>
50    </tr>
51  </tbody>
52</table>
53
54<tal:refereereports condition="view/display_refereereports">
55  <br /><br />
56  <h3 i18n:translate="">
57      Referee Reports
58  </h3>
59  <table i18n:domain="waeup.kofa" class="table table-condensed">
60    <thead>
61    <tr>
62      <th i18n:translate="">Report Id</th>
63      <th i18n:translate="">Creation Date</th>
64      <th i18n:translate="">Referee</th>
65      <th i18n:translate="">Email Address</th>
66    </tr>
67    </thead>
68    <tbody>
69      <tr tal:repeat="cl context/refereereports">
70        <td tal:condition="not: layout/isApplicant"> <a tal:attributes="href python:view.url(cl)">
71          <span tal:content="cl/r_id">RID</span></a></td>
72        <td tal:condition="layout/isApplicant"><span tal:content="cl/r_id">RID</span></td>
73        <td tal:content="python: layout.formatDatetime(cl.creation_date)">CREATION DATE</td>
74        <td tal:content="cl/name">REFEREE</td>
75        <td tal:content="cl/email">EMAIL</td>
76      </tr>
77    </tbody>
78  </table>
79</tal:refereereports>
80
81<tal:payments condition="view/display_payments">
82  <h3 i18n:domain="waeup.kofa" i18n:translate="">
83      Payment Tickets
84  </h3>
85  <table i18n:domain="waeup.kofa" class="table table-condensed">
86    <thead>
87      <tr>
88        <th i18n:translate="">Payment Id</th>
89        <th i18n:translate="">Creation Date</th>
90        <th i18n:translate="">Payment Date</th>
91        <th i18n:translate="">Category</th>
92        <th i18n:translate="">Item</th>
93        <th i18n:translate="">State</th>
94      </tr>
95    </thead>
96    <tbody>
97      <tr tal:repeat="value context/payments">
98        <td> <a tal:attributes="href python:view.url(value)">
99        <span tal:content="value/p_id">PID</span></a></td>
100        <td tal:content="python: layout.formatDatetime(value.creation_date)">CREATION DATE</td>
101        <td tal:content="python: layout.formatDatetime(value.payment_date)">PAYMENT DATE</td>
102        <td tal:content ="value/category">CATEGORY</td>
103        <td tal:content ="value/display_item">ITEM</td>
104        <td tal:content ="value/p_state_title">STATE</td>
105      </tr>
106    </tbody>
107  </table>
108</tal:payments>
Note: See TracBrowser for help on using the repository browser.