source: WAeUP_SRP/trunk/skins/waeup_uniben/layout_student_acco_view_slip.pt @ 7961

Last change on this file since 7961 was 4018, checked in by Henrik Bettermann, 16 years ago

remove maint. fee from uniben accommodation form and slip (data are wrong)

File size: 1.8 KB
Line 
1<!-- a layout_lib macro -->
2<!-- $Id: layout_student_acco_view_slip.pt 1316 2007-01-17 18:05:49Z henrik $ -->
3<metal:block define-macro="default_view"
4  tal:define="layout options/layout;
5              dm options/datastructure/getDataModel;
6              widgets python:context.getRenderedWidgets(layout);
7              fields python:('bed',
8                                 'acco_res_sc_pin',
9                                 'acco_res_date',
10                                 'acco_maint_sc_pin',
11                                 'acco_maint_date',
12                                 )"
13                                 >
14  <table width="" cellpadding="2" cellspacing="0" summary="Form layout">
15    <tr tal:repeat="field fields">
16      <tal:block tal:define="cell python: widgets[field]">
17        <tal:block define="widget cell/widget">
18          <div tal:attributes="class cell/widget_css_class|string:label;
19            id python:widget.getHtmlWidgetId()+'_widget';">
20            <td width="180px" valign="top">
21             <span class="dlabel"
22                    tal:condition="widget/label"
23                    tal:content="widget/label">label</span>:
24            </td>
25            <td>
26               <span tal:condition="cell" tal:content="structure cell/widget_rendered"></span>
27               <span tal:condition="not:cell/widget_rendered"> none </span>
28            </td>
29          </div>
30        </tal:block>
31      </tal:block>
32    </tr>
33    <tr  tal:define="cell python: widgets['acco_maint_sc_pin'];
34                     wr cell/widget_rendered">
35        <td width="180px" valign="top">
36         <span class="dlabel">Maintenance Fee</span>:
37        </td>
38        <td>
39          <span tal:condition="python:wr.startswith('HMF')">N 10500</span>
40          <span tal:condition="python:wr.startswith('HMU')">N 6000</span>
41        </td>
42    </tr>   
43  </table>
44</metal:block>
Note: See TracBrowser for help on using the repository browser.