source: WAeUP_SRP/branches/uli/skins/waeup_default/waeup_document_view.pt @ 17935

Last change on this file since 17935 was 1219, checked in by Henrik Bettermann, 18 years ago

waeup_default/waeup_document_view slimmed down and fixed

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