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

Last change on this file since 10009 was 9984, checked in by Henrik Bettermann, 12 years ago

FCEOkene wants to hide the bed coordinates if maintenance fee is not yet paid. Thus we need additional property attributes which return the p_item (payment tickets) and the bed_coordinates attributes (bed tickets) by default and can be easily customized to hide this information in certain cases. bed_coordinates and p_item must be omitted on forms. The new display_ attributes are displayed instead.

All packages must now be adjusted.

The 'cost-benefit ratio' of these kinds of customizations is quite bad and we should think about declining such customization requests. However, I started customization and these are the changed made in the base package.

File size: 1.9 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<div class="workflow">
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<h3  i18n:domain="waeup.kofa" i18n:translate="">
41    Acceptance Fee Payment Tickets
42</h3>
43<table i18n:domain="waeup.kofa">
44  <thead>
45    <tr>
46      <th i18n:translate="">Payment Id</th>
47      <th i18n:translate="">Creation Date</th>
48      <th i18n:translate="">Payment Date</th>
49      <th i18n:translate="">Category</th>
50      <th i18n:translate="">Item</th>
51      <th i18n:translate="">State</th>
52    </tr>
53  </thead>
54  <tbody>
55    <tr tal:repeat="value context/values">
56      <td> <a tal:attributes="href value/__name__">
57      <span tal:content="value/p_id">PID</span></a></td>
58      <td tal:content="python: layout.formatDatetime(value.creation_date)">CREATION DATE</td>
59      <td tal:content="python: layout.formatDatetime(value.payment_date)">PAYMENT DATE</td>
60      <td tal:content ="value/category">CATEGORY</td>
61      <td tal:content ="value/display_item">ITEM</td>
62      <td tal:content ="value/state">STATE</td>
63    </tr>
64  </tbody>
65</table>
Note: See TracBrowser for help on using the repository browser.