show the reply-to-comment button to anonymous users.

svn path=/plone.app.discussion/trunk/; revision=27446
This commit is contained in:
Timo Stollenwerk 2009-06-14 17:33:32 +00:00
parent dcc8c329eb
commit 5c3c77ecbd

View File

@ -117,7 +117,7 @@
--> -->
<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="python:userHasReplyPermission and isDiscussionAllowed" tal:condition="python:userHasReplyPermission and isDiscussionAllowed or isAnonymousDiscussionAllowed"
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}">