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

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

introduce breadcrumbs for the academic-section, use them instead of up one
level.

  • Property svn:keywords set to Id
File size: 1.4 KB
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" tal:define="breadcrumbs context/getBreadCrumbs">
11      <a tal:condition="not: breadcrumbs" href="" tal:attributes="href string:${here/aq_parent/absolute_url}">
12        <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/>
13        Up one level
14      </a>
15      <div tal:condition="breadcrumbs">
16        <span tal:repeat="crumb breadcrumbs"><a href="crumb"
17                                                           tal:attributes="href crumb/url"
18                                                           tal:content="crumb/title"></a>
19          <span tal:condition="not: repeat/crumb/end">&gt;</span>
20        </span>
21      </div>
22     
23      <h3>
24         <span tal:condition="python:is_so and s_name">
25           <span tal:content="s_name" />:
26         </span>
27         <span tal:content="info/title" />
28      </h3>
29     
30      <br />
31
32      <span tal:omit-tag="" 
33            tal:content="structure python: info['doc'].render(layout_mode='view')" />
34
35      </span>
36    </metal:main>
37    <metal:sub fill-slot="sub"/>
38</metal:body>
39
Note: See TracBrowser for help on using the repository browser.