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:
Timo Stollenwerk 2009-07-03 09:03:19 +00:00
parent 30341e7d6e
commit f2f70e908b

View File

@ -6,7 +6,7 @@
<property name="description" i18n:translate=""></property> <property name="description" i18n:translate=""></property>
<property name="url_expr">string:$portal_url/@@moderate-comments</property> <property name="url_expr">string:$portal_url/@@moderate-comments</property>
<property name="icon_expr"></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"> <property name="permissions">
<element value="Review comments"/> <element value="Review comments"/>
</property> </property>