source: WAeUP_SRP/trunk/skins/waeup_layout/layout_waeup_view_student_course.pt @ 17722

Last change on this file since 17722 was 2243, checked in by Henrik Bettermann, 17 years ago

skins reorganized

File size: 1.1 KB
Line 
1<!-- $Id: layout_waeup_view_student_course.pt 805 2006-11-09 09:38:29Z joachim $ -->
2<metal:block define-macro="table_view"
3             tal:define="layout options/layout;
4             widgets python:context.getRenderedWidgets(layout);
5             fields python:(
6                            'title',
7                            'study_course',
8                            'faculty',
9                            'department',
10                            )"
11                                  >
12  <table>
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          >
19            <td >
20              <span class="dlabel"
21                    tal:condition="widget/label"
22                    tal:content="widget/label">label</span>:
23            </td>
24            <td>
25              <span tal:replace="structure cell/widget_rendered" />
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.