Last change
on this file since 309 was
96,
checked in by joachim, 19 years ago
|
=adding and editing of several types
|
File size:
1.0 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="header"> |
---|
9 | </metal:block> |
---|
10 | |
---|
11 | <metal:block fill-slot="main" |
---|
12 | tal:define="items context/contentValues" |
---|
13 | > |
---|
14 | <span> |
---|
15 | <h2>The Faculties</h2> |
---|
16 | <table cellspacing="0" cellpadding="0"> |
---|
17 | <tal:block condition="python: len(items)"> |
---|
18 | <span tal:repeat="item items"> |
---|
19 | <tr tal:condition="python:item.portal_type == 'Faculty'"> |
---|
20 | <td colspan="1"> |
---|
21 | <a href="faculty" tal:attributes="href item/absolute_url" tal:content="item/title_or_id"></a> |
---|
22 | </td> |
---|
23 | </tr> |
---|
24 | </span> |
---|
25 | </tal:block> |
---|
26 | <tr tal:condition="python:not len(items)"> |
---|
27 | <td> |
---|
28 | nothing yet ! |
---|
29 | </td> |
---|
30 | </tr> |
---|
31 | </table> |
---|
32 | </span> |
---|
33 | </metal:block> |
---|
34 | <metal:block fill-slot="sub"> |
---|
35 | </metal:block> |
---|
36 | </html> |
---|
Note: See
TracBrowser for help on using the repository browser.