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

Last change on this file since 1518 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
RevLine 
[1219]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;">
[739]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>
[1162]11         <span tal:condition="python:is_so and s_name">
[1161]12           <span tal:content="s_name" />:
[739]13         </span>
14         <span tal:content="here/title_or_id" />
15      </h3>
[772]16      <br />
[1219]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')" />
[739]22   
[1219]23    </metal:main>
[739]24    <metal:sub fill-slot="sub"/>
[1219]25</metal:body>
26
Note: See TracBrowser for help on using the repository browser.