comparison zpt/viewer/common_template.zpt @ 629:e36bf3226fde

text image viewer eingecheckt
author dwinter
date Tue, 26 May 2015 10:58:27 +0200
parents 7962e6891d99
children
comparison
equal deleted inserted replaced
628:447251b5af65 629:e36bf3226fde
28 part of: <a tal:attributes="href docinfo/partOfUrl" target="_blank" tal:content="structure docinfo/partOfLabel"/> 28 part of: <a tal:attributes="href docinfo/partOfUrl" target="_blank" tal:content="structure docinfo/partOfLabel"/>
29 </div> 29 </div>
30 <ul class="view-switcher" metal:define-slot="view-switcher"> 30 <ul class="view-switcher" metal:define-slot="view-switcher">
31 <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
32 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>
33 <li tal:condition="docpath" tal:attributes="class python:here.getStyle(viewMode, 'text')"><a
34 tal:omit-tag="python:viewMode=='text_image'" tal:attributes="href python:here.getLink('viewMode','text_image')">Text Image</a></li>
33 <li tal:condition="python:docinfo.get('imagePath',None)" tal:attributes="class python:here.getStyle(viewMode, 'image')"><a 35 <li tal:condition="python:docinfo.get('imagePath',None)" tal:attributes="class python:here.getStyle(viewMode, 'image')"><a
34 tal:omit-tag="python:viewMode=='image'" tal:attributes="href python:here.getLink('viewMode','image')">Image</a></li> 36 tal:omit-tag="python:viewMode=='image'" tal:attributes="href python:here.getLink('viewMode','image')">Image</a></li>
35 <li tal:condition="docpath" tal:attributes="class python:here.getStyle(viewMode, 'xml')"><a 37 <li tal:condition="docpath" tal:attributes="class python:here.getStyle(viewMode, 'xml')"><a
36 tal:omit-tag="python:viewMode=='xml'" tal:attributes="href python:here.getLink('viewMode','xml')">XML</a></li> 38 tal:omit-tag="python:viewMode=='xml'" tal:attributes="href python:here.getLink('viewMode','xml')">XML</a></li>
37 <li tal:condition="python:docinfo.get('imagePath',None)" tal:attributes="class python:here.getStyle(viewMode, 'thumbs')"><a 39 <li tal:condition="python:docinfo.get('imagePath',None)" tal:attributes="class python:here.getStyle(viewMode, 'thumbs')"><a