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 | |
---|
13 | <metal:block fill-slot="main" |
---|
14 | tal:define="student here/getContent; |
---|
15 | items here/contentValues"> |
---|
16 | <span tal:condition="python: 0" tal:content="items" /> |
---|
17 | <table cellspacing="0" cellpadding="0"> |
---|
18 | <tal:block condition="python: len(items)"> |
---|
19 | <tr tal:repeat="item items"> |
---|
20 | <td colspan="1"> |
---|
21 | <a href="jamb" |
---|
22 | tal:attributes="href item/absolute_url" |
---|
23 | tal:content="item/title_or_id"></a> |
---|
24 | </td> |
---|
25 | </tr> |
---|
26 | </tal:block> |
---|
27 | <tr tal:condition="python:not len(items)"> |
---|
28 | <td> |
---|
29 | no Items yet ! |
---|
30 | </td> |
---|
31 | </tr> |
---|
32 | </table> |
---|
33 | </metal:block> |
---|
34 | </html> |
---|
Note: See
TracBrowser for help on using the repository browser.