improve blog presentation

git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@3839 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
helmutm 2010-05-03 10:59:37 +00:00
parent 3f7bacab7f
commit ac6b212827

View file

@ -20,7 +20,7 @@
tal:attributes="href url">Will Smith</a>
</div>
<div class="description"
tal:define="description data/description"
tal:define="description related/renderedDescription"
tal:condition="description">
<span tal:content="structure description">Description</span></div>
<div class="text"
@ -29,6 +29,10 @@
<span tal:content="structure python:
item.renderText(data['text'], related.adapted.textContentType)"></span>
</div>
<div class="text"
tal:condition="data/text">
<a tal:attributes="href python: view.getUrlForTarget(related);"
i18n:translate="">more...</a></div>
</tal:child>
</div>
<metal:resources use-macro="view/concept_macros/conceptchildren" />