From b1ab18dddcebc58ecdee668cb74c9d6f69f56a80 Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Wed, 3 Jun 2009 17:05:26 +0000 Subject: [PATCH] show commenting viewlet only when isDiscussionAllowed is true. svn path=/plone.app.discussion/trunk/; revision=27290 --- plone/app/discussion/browser/comments.pt | 1 + 1 file changed, 1 insertion(+) diff --git a/plone/app/discussion/browser/comments.pt b/plone/app/discussion/browser/comments.pt index d25a239..c5ee7a4 100644 --- a/plone/app/discussion/browser/comments.pt +++ b/plone/app/discussion/browser/comments.pt @@ -3,6 +3,7 @@ replies view/get_replies; isAnon view/is_anonymous; errors options/state/getErrors|nothing;" + tal:condition="isDiscussionAllowed" i18n:domain="plone">