source: main/kofacustom.lpng/trunk/src/kofacustom/lpng/applicants/browser_templates/applicantdisplaypage.pt @ 17190

Last change on this file since 17190 was 17091, checked in by Henrik Bettermann, 2 years ago

Implement Polling Unit Locator.

File size: 2.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>
36      <td class="fieldname" i18n:translate="">
37          Polling Unit:
38      </td>
39      <td>
40         <tal:punit replace="view/render_punit" />
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:payments condition="view/display_payments">
55  <h3 i18n:domain="waeup.kofa" i18n:translate="">
56      Payment Tickets
57  </h3>
58  <table i18n:domain="waeup.kofa" class="table table-condensed">
59    <thead>
60      <tr>
61        <th i18n:translate="">Payment Id</th>
62        <th i18n:translate="">Creation Date</th>
63        <th i18n:translate="">Payment Date</th>
64        <th i18n:translate="">Category</th>
65        <th i18n:translate="">Item</th>
66        <th i18n:translate="">State</th>
67      </tr>
68    </thead>
69    <tbody>
70      <tr tal:repeat="value context/payments">
71        <td> <a tal:attributes="href python:view.url(value)">
72        <span tal:content="value/p_id">PID</span></a></td>
73        <td tal:content="python: layout.formatDatetime(value.creation_date)">CREATION DATE</td>
74        <td tal:content="python: layout.formatDatetime(value.payment_date)">PAYMENT DATE</td>
75        <td tal:content ="value/category">CATEGORY</td>
76        <td tal:content ="value/display_item">ITEM</td>
77        <td tal:content ="value/p_state_title">STATE</td>
78      </tr>
79    </tbody>
80  </table>
81</tal:payments>
Note: See TracBrowser for help on using the repository browser.