comparison zpt/viewer/common_template.zpt @ 608:0c6056271654

show is-part-of relation in header.
author casties
date Tue, 18 Dec 2012 19:26:22 +0100
parents cb5a9c4f5e3a
children 7962e6891d99
comparison
equal deleted inserted replaced
607:cb5a9c4f5e3a 608:0c6056271654
22 </tal:block> 22 </tal:block>
23 <span tal:condition="not:python:docinfo['creator'] or docinfo['title']" 23 <span tal:condition="not:python:docinfo['creator'] or docinfo['title']"
24 tal:content="string:[no bibliographical information for this document (type ${bibType})]" /> 24 tal:content="string:[no bibliographical information for this document (type ${bibType})]" />
25 </div> 25 </div>
26 <div class="title" tal:condition="formattedLabel" tal:content="structure formattedLabel" /> 26 <div class="title" tal:condition="formattedLabel" tal:content="structure formattedLabel" />
27 <div class="title part-of" tal:condition="exists:docinfo/partOfPath">
28 part of: <a tal:attributes="href docinfo/partOfUrl" target="_blank" tal:content="structure docinfo/partOfLabel"/>
29 </div>
27 <ul class="view-switcher" metal:define-slot="view-switcher"> 30 <ul class="view-switcher" metal:define-slot="view-switcher">
28 <li tal:condition="docpath" tal:attributes="class python:here.getStyle(viewMode, 'text')"><a 31 <li tal:condition="docpath" tal:attributes="class python:here.getStyle(viewMode, 'text')"><a
29 tal:omit-tag="python:viewMode=='text'" tal:attributes="href python:here.getLink('viewMode','text')">Text</a></li> 32 tal:omit-tag="python:viewMode=='text'" tal:attributes="href python:here.getLink('viewMode','text')">Text</a></li>
30 <li tal:condition="python:docinfo.get('imagePath',None)" tal:attributes="class python:here.getStyle(viewMode, 'image')"><a 33 <li tal:condition="python:docinfo.get('imagePath',None)" tal:attributes="class python:here.getStyle(viewMode, 'image')"><a
31 tal:omit-tag="python:viewMode=='image'" tal:attributes="href python:here.getLink('viewMode','image')">Image</a></li> 34 tal:omit-tag="python:viewMode=='image'" tal:attributes="href python:here.getLink('viewMode','image')">Image</a></li>