Mercurial > hg > documentViewer
diff zpt/common_template.zpt @ 590:ed4485d2748e
viewMode "images" changed to "image".
author | casties |
---|---|
date | Fri, 16 Nov 2012 11:44:21 +0100 |
parents | 011905457a5f |
children |
line wrap: on
line diff
--- a/zpt/common_template.zpt Thu Nov 15 17:58:14 2012 +0100 +++ b/zpt/common_template.zpt Fri Nov 16 11:44:21 2012 +0100 @@ -27,8 +27,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="python:docinfo.get('imagePath',None)" tal:attributes="class python:here.getStyle(viewMode, 'images')"><a - tal:omit-tag="python:viewMode=='images'" tal:attributes="href python:here.getLink('viewMode','images')">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 tal:omit-tag="python:viewMode=='xml'" tal:attributes="href python:here.getLink('viewMode','xml')">XML</a></li> <li tal:condition="python:docinfo.get('imagePath',None)" tal:attributes="class python:here.getStyle(viewMode, 'thumbs')"><a