comparison 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
comparison
equal deleted inserted replaced
589:d8d6975cebcb 590:ed4485d2748e
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 <ul class="view-switcher" metal:define-slot="view-switcher"> 27 <ul class="view-switcher" metal:define-slot="view-switcher">
28 <li tal:condition="docpath" tal:attributes="class python:here.getStyle(viewMode, 'text')"><a 28 <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> 29 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, 'images')"><a 30 <li tal:condition="python:docinfo.get('imagePath',None)" tal:attributes="class python:here.getStyle(viewMode, 'image')"><a
31 tal:omit-tag="python:viewMode=='images'" tal:attributes="href python:here.getLink('viewMode','images')">Image</a></li> 31 tal:omit-tag="python:viewMode=='image'" tal:attributes="href python:here.getLink('viewMode','image')">Image</a></li>
32 <li tal:condition="docpath" tal:attributes="class python:here.getStyle(viewMode, 'xml')"><a 32 <li tal:condition="docpath" tal:attributes="class python:here.getStyle(viewMode, 'xml')"><a
33 tal:omit-tag="python:viewMode=='xml'" tal:attributes="href python:here.getLink('viewMode','xml')">XML</a></li> 33 tal:omit-tag="python:viewMode=='xml'" tal:attributes="href python:here.getLink('viewMode','xml')">XML</a></li>
34 <li tal:condition="python:docinfo.get('imagePath',None)" tal:attributes="class python:here.getStyle(viewMode, 'thumbs')"><a 34 <li tal:condition="python:docinfo.get('imagePath',None)" tal:attributes="class python:here.getStyle(viewMode, 'thumbs')"><a
35 tal:omit-tag="python:viewMode=='thumbs'" tal:attributes="href python:here.getLink('viewMode','thumbs')">Thumbnail 35 tal:omit-tag="python:viewMode=='thumbs'" tal:attributes="href python:here.getLink('viewMode','thumbs')">Thumbnail
36 overview</a></li> 36 overview</a></li>