Mercurial > hg > MPIWGWeb
diff zpt/project/project_index_html.zpt @ 221:e8431f86ac70
anker fuer direkte spruenge in thesaurus
author | dwinter |
---|---|
date | Thu, 24 Oct 2013 15:32:51 +0200 |
parents | 81e9c8252747 |
children | 5d17c46ebffa |
line wrap: on
line diff
--- a/zpt/project/project_index_html.zpt Thu Oct 24 14:59:22 2013 +0200 +++ b/zpt/project/project_index_html.zpt Thu Oct 24 15:32:51 2013 +0200 @@ -195,11 +195,12 @@ <!-- sideblock --> <div class="sideblock" tal:define="tags python:here.thesaurus.getTagsAsHash(here.getId())" tal:condition="tags"> <h2>Tags</h2> - <div class="item"> + <div class="item" tal:define="anc python:here.thesaurus.thes_quote('/en/research/projects/'+here.getId())"> + <tal:x repeat="key python:tags.keys()"> <tal:y repeat="tag python:tags[key]"> - - <a tal:content="python:here.thesaurus.formatTag(tag)" tal:attributes="href python:'thesaurus/show_en.html?dep='+key+'&open='+here.thesaurus.thes_quote(tag) ">tag</a></tal:y> + - <a tal:content="python:here.thesaurus.formatTag(tag)" tal:attributes="href python:'thesaurus/show_en.html?dep='+key+'&open='+here.thesaurus.thes_quote(tag)+'#'+anc">tag</a></tal:y> </tal:x> </div>