changeset 225:e87c1475b3d6

fix hyphen in keyword list.
author casties
date Tue, 29 Oct 2013 17:39:12 +0100
parents 5d17c46ebffa
children 4f2ed4dc50e6
files zpt/project/project_index_html.zpt
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/zpt/project/project_index_html.zpt	Tue Oct 29 16:51:34 2013 +0100
+++ b/zpt/project/project_index_html.zpt	Tue Oct 29 17:39:12 2013 +0100
@@ -198,7 +198,7 @@
       <div class="item"  tal:define="anc python:here.thesaurus.thes_quote(here.getId())">
         <tal:x tal:repeat="key python:tags.keys()">
       	  <tal:y tal:repeat="tag python:tags[key]">
-      	    <tal:z tal:condition="not:repeat/key/start">- </tal:z><a tal:content="python:here.thesaurus.formatTag(tag)" 
+      	    <tal:z tal:condition="python:not (repeat['key'].start and repeat['tag'].start)">- </tal:z><a tal:content="python:here.thesaurus.formatTag(tag)" 
               tal:attributes="href python:root+'/'+secmap['research']+'/thesaurus/show_'+lang+'.html?dep='+key+'&open='+here.thesaurus.thes_quote(tag)+'#'+anc">tag</a>
           </tal:y>
         </tal:x>