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

Last change on this file since 3473 was 3473, checked in by joachim, 17 years ago

remove Title from all StudentObjects?,
adjust templates to use getStudentObjectitles,
remove waeup_academics.getDocumentInfo (was duplicate),
do not use portal_catalog for listing faculties and departments.

  • Property svn:keywords set to Id
File size: 987 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 info/is_sectionofficer;">
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/aq_parent/absolute_url}">
13        <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/>
14        Up one level
15      </a>
16     
17      <h3>
18         <span tal:condition="python:is_so and s_name">
19           <span tal:content="s_name" />:
20         </span>
21         <span tal:content="info/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.