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

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

academics_document_view.pt renamed and moved

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