source: waeup_product/trunk/skins/waeup_faculty/faculty_view_manager.pt @ 186

Last change on this file since 186 was 96, checked in by joachim, 19 years ago

=adding and editing of several types

File size: 1.2 KB
Line 
1<html metal:use-macro="here/content_lib_master/macros/master">
2
3  <metal:block fill-slot="head_slot">
4    <tal:block tal:define="student here/getContent">
5    </tal:block>
6  </metal:block>
7
8  <metal:block fill-slot="css_slot">
9    <link rel="Stylesheet" type="text/css" href=""
10          tal:attributes="href string:${base_url}student.css" />
11  </metal:block>
12  <metal:block fill-slot="header">
13  </metal:block>
14
15  <metal:block fill-slot="main"
16               tal:define="faculty here/getContent;
17               items here/contentValues"
18               >
19    <h2 tal:content="faculty/title_or_id"></h2>
20    <p tal:content="faculty/Description"></p>
21    <span>
22      <table cellspacing="0" cellpadding="0">
23        <tal:block condition="python: len(items)">
24          <tr tal:repeat="item items">
25            <td colspan="1">
26              <a href="student" tal:attributes="href item/absolute_url" tal:content="item/title_or_id"></a>
27            </td>
28          </tr>
29        </tal:block>
30        <tr tal:condition="python:not len(items)">
31          <td>
32            nothing yet !
33          </td>
34        </tr>
35      </table>
36    </span>
37  </metal:block>
38  <metal:block fill-slot="sub">
39  </metal:block>
40</html>
Note: See TracBrowser for help on using the repository browser.