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

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

see ticket #329

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