source: WAeUP_SRP/base/skins/waeup_default/waeup_document_view.pt @ 2670

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

see ticket #329

  • Property svn:keywords set to Id
File size: 1009 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="" tal:attributes="href string:${here/academicsParent}">
13        <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/>
14        Up one level
15      </a>
16     
17      <h3 tal:condition="here/Title">
18         <span tal:condition="python:is_so and s_name">
19           <span tal:content="s_name" />:
20         </span>
21         <span tal:content="here/Title" />
22      </h3>
23     
24      <br />
25
26      <span tal:omit-tag="" 
27            tal:content="structure python: info['doc'].render(layout_mode='view')" />
28
29      </span>
30    </metal:main>
31    <metal:sub fill-slot="sub"/>
32</metal:body>
33
Note: See TracBrowser for help on using the repository browser.