Mercurial > hg > documentViewer
diff 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 |
line wrap: on
line diff
--- a/zpt/viewer/common_template.zpt Wed Feb 11 17:18:23 2015 +0100 +++ b/zpt/viewer/common_template.zpt Tue May 26 10:58:27 2015 +0200 @@ -30,6 +30,8 @@ <ul class="view-switcher" metal:define-slot="view-switcher"> <li tal:condition="docpath" tal:attributes="class python:here.getStyle(viewMode, 'text')"><a tal:omit-tag="python:viewMode=='text'" tal:attributes="href python:here.getLink('viewMode','text')">Text</a></li> + <li tal:condition="docpath" tal:attributes="class python:here.getStyle(viewMode, 'text')"><a + tal:omit-tag="python:viewMode=='text_image'" tal:attributes="href python:here.getLink('viewMode','text_image')">Text Image</a></li> <li tal:condition="python:docinfo.get('imagePath',None)" tal:attributes="class python:here.getStyle(viewMode, 'image')"><a tal:omit-tag="python:viewMode=='image'" tal:attributes="href python:here.getLink('viewMode','image')">Image</a></li> <li tal:condition="docpath" tal:attributes="class python:here.getStyle(viewMode, 'xml')"><a