source: WAeUP_SRP/trunk/skins/waeup_student/layout_pume_view_slip.pt @ 798

Last change on this file since 798 was 774, checked in by Henrik Bettermann, 18 years ago

pume rendering adapted
pume_slip added
portlet_session_info simplified

File size: 1.3 KB
Line 
1<!-- a layout_lib macro -->
2<!-- $Id: layout_lib_default_view.pt 34052 2006-03-06 14:59:24Z atchertchian $ -->
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:('pume_gen_score',
8                                 'pume_eng_score',
9                                 'pume_tot_score',
10                                 )"
11                                 >
12  <table width="" cellpadding="2" cellspacing="0" summary="Form layout">
13    <tr tal:repeat="field fields">
14      <tal:block tal:define="cell python: widgets[field]">
15        <tal:block define="widget cell/widget">
16          <div tal:attributes="class cell/widget_css_class|string:label;
17            id python:widget.getHtmlWidgetId()+'_widget';">
18            <td width="180px">
19             <span class="dlabel"
20                    tal:condition="widget/label"
21                    tal:content="widget/label">label</span>:
22            </td>
23            <td>
24               <span tal:condition="cell" tal:content="structure cell/widget_rendered"></span>
25               <span tal:condition="not:cell/widget_rendered"> none </span>
26            </td>
27          </div>
28        </tal:block>
29      </tal:block>
30    </tr>
31  </table>
32</metal:block>
Note: See TracBrowser for help on using the repository browser.