9 lines
585 B
Tal
9 lines
585 B
Tal
<div tal:define="comments getWebForServerRole('comments').getComments(comment.id)">
|
|
<h3 tal:content="comment.title">titre</h3>
|
|
<span class="comment-author">By <span tal:replace="GlasnostObject(comment.authorId)" tal:on-error="'Anonymous'"/></span>
|
|
<div class="comment" tal:content="structure parseSpip(comment.body)" />
|
|
<a tal:attributes="href roleUrl('post', sourceId=comment.id, nextUri=currentURI)" tal:translate="">Reply</a>
|
|
<div class="comment-block" tal:condition="comments" tal:repeat="c comments" tal:content="structure template('comment.tal', comment=c)" />
|
|
</div>
|
|
|