Show "moderate comments" link in the admin panel only if a moderation workflow is enabled for comments.

svn path=/plone.app.discussion/trunk/; revision=46206
This commit is contained in:
Timo Stollenwerk
2010-12-08 17:45:11 +00:00
parent 6e354718f4
commit 583b25530e
4 changed files with 39 additions and 1 deletions
@@ -7,7 +7,7 @@
<property name="description" i18n:translate=""></property>
<property name="url_expr">string:${globals_view/navigationRootUrl}/@@moderate-comments</property>
<property name="icon_expr"></property>
<property name="available_expr"></property>
<property name="available_expr">portal/@@moderate-comments-enabled|nothing</property>
<property name="permissions">
<element value="Review comments"/>
</property>