source: WAeUP_SRP/trunk/skins/waeup_student/layout_personal_view.pt @ 1264

Last change on this file since 1264 was 1201, checked in by joachim, 18 years ago

fix

File size: 1.7 KB
RevLine 
[1167]1<!-- a layout_lib macro -->
2<!-- $Id: layout_application_view.pt 980 2006-12-02 07:18:27Z henrik $ -->
3<metal:block define-macro="default_view"
4  tal:define="layout options/layout;
[1186]5              dm options/datastructure/getDataModel;">
[1167]6
7  <table cellpadding="2" cellspacing="2" summary="layout">
8    <tr>
9      <td><span class="dlabel">Student ID</span>:
10      </td>
[1200]11      <td tal:condition="nothing">
[1186]12         <span tal:replace="context/getStudentId" />
[1167]13      </td>     
14    </tr>
15    <span tal:repeat="row layout/rows">
16        <span tal:repeat="cell row">
[1201]17          <span tal:condition="python:cell['widget_rendered']">
[1186]18          <span tal:define="widget cell/widget">
[1167]19            <div tal:omit-tag=""
20                 tal:attributes="class cell/widget_css_class|nothing;">
21            <tr>                         
22            <tal:block condition="widget/label">
23            <td width="180px" valign="top" nowrap>
24              <span i18n:translate="" tal:condition="widget/is_i18n">
25                  <span tal:content="widget/label" />:</span>
26              <span tal:condition="not:widget/is_i18n">
27                  <span tal:content="widget/label" />:</span>
28            </td>
29            </tal:block>
30            <tal:block condition="not: widget/label">
31            <td valign="top">
32              <div> no label </div>
33            </td>
34            </tal:block>             
35            <td valign="top">
36             <div class="ddescription" tal:condition="cell/widget_rendered" tal:content="structure cell/widget_rendered"></div>
37             <div class="ddescription" tal:condition="not:cell/widget_rendered"> none </div>
38            </td>
39            </tr>
40            </div>
41          </span>
42          </span>
43      </span>
44    </span>   
45  </table>
46</metal:block>
Note: See TracBrowser for help on using the repository browser.