source: WAeUP_SRP/branches/srpp_branch/skins/waeup_faculty/department_view_manager.pt @ 15554

Last change on this file since 15554 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="department here/getContent;
17               items here/contentValues"
18               >
19    <span>
20      <h2 tal:content="department/title_or_id"></h2>
21      <p tal:content="department/Description">
22      </p>
23      <br />
24     
25      <table cellspacing="0" cellpadding="0">
26        <tal:block condition="python: len(items)">
27          <tr tal:repeat="item items">
28            <td colspan="1">
29              <a href="student" tal:attributes="href item/absolute_url" tal:content="item/title_or_id"></a>
30            </td>
31          </tr>
32        </tal:block>
33        <tr tal:condition="python:not len(items)">
34          <td>
35            no courses yet !
36          </td>
37        </tr>
38      </table>
39    </span>
40  </metal:block>
41  <metal:block fill-slot="sub">
42  </metal:block>
43</html>
Note: See TracBrowser for help on using the repository browser.