show commenting viewlet only when isDiscussionAllowed is true.

svn path=/plone.app.discussion/trunk/; revision=27290
This commit is contained in:
Timo Stollenwerk 2009-06-03 17:05:26 +00:00
parent e4a62a2c0d
commit b1ab18dddc

View File

@ -3,6 +3,7 @@
replies view/get_replies; replies view/get_replies;
isAnon view/is_anonymous; isAnon view/is_anonymous;
errors options/state/getErrors|nothing;" errors options/state/getErrors|nothing;"
tal:condition="isDiscussionAllowed"
i18n:domain="plone"> i18n:domain="plone">
<div class="reply" <div class="reply"