Mercurial > hg > MPIWGWeb
diff zpt/project/project_index_html.zpt @ 219:5ffb9e7167b6
thesaurus auf project seinte
author | dwinter |
---|---|
date | Thu, 24 Oct 2013 14:47:07 +0200 |
parents | 2b27332c9545 |
children | 81e9c8252747 |
line wrap: on
line diff
--- a/zpt/project/project_index_html.zpt Wed Oct 16 15:44:16 2013 +0200 +++ b/zpt/project/project_index_html.zpt Thu Oct 24 14:47:07 2013 +0200 @@ -193,7 +193,17 @@ </div> </div> <!-- sideblock --> - + <div class="sideblock" tal:define="tags python:here.thesaurus.getTagsAsHash(here.getId())" > + <h2>Tags</h2> + <div class="item"> + <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> + </tal:x> + + </div> + </div> </div> <!-- sidebar -->