add bulk actions and filter to the moderation view.
move delete- and publish-comment methods from comment.py to moderation.py. svn path=/plone.app.discussion/trunk/; revision=27670
This commit is contained in:
@@ -17,12 +17,21 @@
|
||||
permission="cmf.ManagePortal"
|
||||
/>
|
||||
|
||||
<!-- Moderation bulk actions view -->
|
||||
<browser:page
|
||||
for="Products.CMFCore.interfaces.ISiteRoot"
|
||||
name="bulk-actions"
|
||||
layer="..interfaces.IDiscussionLayer"
|
||||
class=".moderation.BulkActionsView"
|
||||
permission="cmf.ManagePortal"
|
||||
/>
|
||||
|
||||
<!-- Delete comment view -->
|
||||
<browser:view
|
||||
for="plone.app.discussion.interfaces.IComment"
|
||||
name="moderate-delete-comment"
|
||||
layer="..interfaces.IDiscussionLayer"
|
||||
class=".comments.DeleteComment"
|
||||
class=".moderation.DeleteComment"
|
||||
permission="plone.app.discussion.ReviewComments"
|
||||
/>
|
||||
|
||||
@@ -31,7 +40,7 @@
|
||||
for="plone.app.discussion.interfaces.IComment"
|
||||
name="moderate-publish-comment"
|
||||
layer="..interfaces.IDiscussionLayer"
|
||||
class=".comments.PublishComment"
|
||||
class=".moderation.PublishComment"
|
||||
permission="plone.app.discussion.ReviewComments"
|
||||
/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user