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

View File

@ -84,7 +84,7 @@
</div> </div>
<a href="#" class="reply-to-comment-button" title="reply to this comment" <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}); tal:attributes="onclick string:createReplyToCommentForm(${reply/id});
id string:reply-to-comment-${reply/id}-button; id string:reply-to-comment-${reply/id}-button;
href string:#comment-${reply/id}"> href string:#comment-${reply/id}">