source: WAeUP_SRP/trunk/skins/waeup_student/student_personal_view_manager.pt @ 366

Last change on this file since 366 was 67, checked in by joachim, 19 years ago

=student views added

File size: 1.1 KB
Line 
1<metal:block define-macro="view">
2<metal:block use-macro="here/content_lib_master/macros/master">
3  <metal:block fill-slot="header">
4  </metal:block>
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" />
23      </tal:block>
24    </tal:block>
25
26  </metal:block>
27  <metal:block fill-slot="sub">
28  </metal:block>
29
30</metal:block>
31</metal:block>
Note: See TracBrowser for help on using the repository browser.