show reply-to-comment button based on permissions/workflow.

svn path=/plone.app.discussion/trunk/; revision=27363
This commit is contained in:
Timo Stollenwerk 2009-06-09 15:52:20 +00:00
parent c55316d212
commit 5441976dca
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@
</div>
<a href="#" class="reply-to-comment-button" title="reply to this comment"
tal:condition="not:isAnon"
tal:condition="python:userHasReplyPermission and isDiscussionAllowed"
tal:attributes="onclick string:createReplyToCommentForm(${reply/id});
id string:reply-to-comment-${reply/id}-button;
href string:#comment-${reply/id}">