source: WAeUP_SRP/trunk/skins/waeup_default/waeup_document_view.pt @ 2009

Last change on this file since 2009 was 2009, checked in by Henrik Bettermann, 17 years ago

ticket #307

  • Property svn:keywords set to Id
File size: 997 bytes
Line 
1<metal:body use-macro="here/main_template/macros/master">
2    <metal:main fill-slot="main"
3                tal:define="info context/getDocumentInfo;
4                s_name context/getStudentNameInContext;
5                is_so context/isSectionOfficer;">
6
7      <span tal:condition="not: info">
8        <span tal:content="here/illegal_view" />
9      </span>
10      <span tal:condition="info">
11   
12      <a href=""
13         tal:attributes="href string:${here/academicsParent}">
14        <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/>
15        Up one level
16      </a>
17     
18      <h3>
19         <span tal:condition="python:is_so and s_name">
20           <span tal:content="s_name" />:
21         </span>
22         <span tal:content="here/title_or_id" />
23      </h3>
24     
25      <br />
26
27      <span tal:omit-tag="" 
28            tal:content="structure python: info['doc'].render(layout_mode='view')" />
29
30      </span>
31    </metal:main>
32    <metal:sub fill-slot="sub"/>
33</metal:body>
34
Note: See TracBrowser for help on using the repository browser.