show "moderate comments" site action only when comment_review_workflow is enabled for comments.
svn path=/plone.app.discussion/trunk/; revision=27791
This commit is contained in:
parent
30341e7d6e
commit
f2f70e908b
@ -6,7 +6,7 @@
|
||||
<property name="description" i18n:translate=""></property>
|
||||
<property name="url_expr">string:$portal_url/@@moderate-comments</property>
|
||||
<property name="icon_expr"></property>
|
||||
<property name="available_expr"></property>
|
||||
<property name="available_expr">python: portal.portal_workflow.getChainForPortalType('Discussion Item') == ('comment_review_workflow',)</property>
|
||||
<property name="permissions">
|
||||
<element value="Review comments"/>
|
||||
</property>
|
||||
|
Loading…
Reference in New Issue
Block a user