Commit 8e4e3e4a authored by Fabien Morin's avatar Fabien Morin

Don't display " | Category :" if there is no category associated

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39475 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8f1d7766
......@@ -65,8 +65,8 @@
<strong tal:content="structure date_rendered">date</strong>\n
</small>\n
\n
<small class="post_author">Author: <span tal:replace="author">Author</span></small> | <small class="post_category">Category: \n
<tal:block tal:repeat="category categories"><a tal:attributes="href python: \'%s?tag=%s\' % (base_url_string, category)" tal:content="category">cat.</a><tal:block tal:condition="not: repeat/category/end"> ; </tal:block></tal:block></small>\n
<small class="post_author">Author: <span tal:replace="author">Author</span></small><tal:block tal:condition="categories"> | <small class="post_category">Category: \n
<tal:block tal:repeat="category categories"><a tal:attributes="href python: \'%s?tag=%s\' % (base_url_string, category)" tal:content="category">cat.</a><tal:block tal:condition="not: repeat/category/end"> ; </tal:block></tal:block></small></tal:block>\n
\n
</div><!--End post_head -->\n
\n
......
47
\ No newline at end of file
48
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment