hide delete and workflow actions in the comments viewlet, since they don't work yet.

svn path=/plone.app.discussion/trunk/; revision=27416
This commit is contained in:
Timo Stollenwerk 2009-06-14 07:26:59 +00:00
parent 9be49ee767
commit 2e1cda3f59

View File

@ -84,6 +84,7 @@
This is the body text of the comment. This is the body text of the comment.
</div> </div>
<!--
<form name="delete" <form name="delete"
action="" action=""
method="post" method="post"
@ -96,8 +97,9 @@
i18n:attributes="value label_remove;" i18n:attributes="value label_remove;"
/> />
</form> </form>
-->
<!-- Workflow actions (e.g. 'publish') --> <!-- Workflow actions (e.g. 'publish') -->
<!--
<form name="" <form name=""
action="" action=""
method="get" method="get"
@ -111,6 +113,7 @@
tal:attributes="value action/title" tal:attributes="value action/title"
/> />
</form> </form>
-->
<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"