- Timestamp:
- 20 Oct 2005, 12:11:00 (19 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/skins/waeup_student/jamb_view_student.pt
r48 r66 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> 1 <metal:block define-macro="view"> 2 <metal:block use-macro="here/content_lib_master/macros/master"> 12 3 <metal:block fill-slot="header"> 13 4 </metal:block> 14 <metal:block fill-slot="main" 15 tal:define="student here/getContent; 16 items here/contentValues" 17 > 18 <table cellspacing="0" cellpadding="0"> 19 <tal:block condition="python: len(items)"> 20 <tr tal:repeat="item items"> 21 <td colspan="1"> 22 <a href="jamb" 23 tal:attributes="href item/absolute_url" 24 tal:content="item/title_or_id"></a> 25 </td> 26 </tr> 5 6 <metal:block fill-slot="css_slot"> 7 <link rel="Stylesheet" type="text/css" href="" 8 tal:attributes="href string:${base_url}document.css" /> 9 <link rel="Stylesheet" type="text/css" href="" 10 tal:attributes="href string:${base_url}forum.css" /> 11 </metal:block> 12 13 <metal:block fill-slot="main"> 14 <tal:block tal:content="structure rendered_main|python:doc.render(proxy=here)" /> 15 16 <tal:block tal:condition="python:hasattr(here,'portal_discussion') and 17 hasattr(here.portal_discussion, 'isCommentingAllowedFor')"> 18 <tal:block tal:define="comments_allowed 19 python:here.portal_discussion.isCommentingAllowedFor(here);" 20 tal:condition="comments_allowed"> 21 <metal:block 22 use-macro="here/forum_comment_lib_view_comments_inline/macros/view_comments_inline" /> 27 23 </tal:block> 28 <tr tal:condition="python:not len(items)"> 29 <td> 30 no Items yet ! 31 </td> 32 </tr> 33 </table> 24 </tal:block> 25 34 26 </metal:block> 35 27 <metal:block fill-slot="sub"> 36 28 </metal:block> 37 </html> 29 30 </metal:block> 31 </metal:block>
Note: See TracChangeset for help on using the changeset viewer.