Last change
on this file since 3474 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
|
Rev | Line | |
---|
[1783] | 1 | <metal:body use-macro="here/main_template/macros/master"> |
---|
[3474] | 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}"> |
---|
[739] | 12 | <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/> |
---|
| 13 | Up one level |
---|
| 14 | </a> |
---|
[3474] | 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">></span> |
---|
| 20 | </span> |
---|
| 21 | </div> |
---|
[2009] | 22 | |
---|
[3473] | 23 | <h3> |
---|
[1162] | 24 | <span tal:condition="python:is_so and s_name"> |
---|
[1161] | 25 | <span tal:content="s_name" />: |
---|
[739] | 26 | </span> |
---|
[3473] | 27 | <span tal:content="info/title" /> |
---|
[739] | 28 | </h3> |
---|
[2009] | 29 | |
---|
[772] | 30 | <br /> |
---|
[2009] | 31 | |
---|
[1219] | 32 | <span tal:omit-tag="" |
---|
| 33 | tal:content="structure python: info['doc'].render(layout_mode='view')" /> |
---|
[2009] | 34 | |
---|
| 35 | </span> |
---|
[1219] | 36 | </metal:main> |
---|
[739] | 37 | <metal:sub fill-slot="sub"/> |
---|
[1219] | 38 | </metal:body> |
---|
| 39 | |
---|
Note: See
TracBrowser for help on using the repository browser.