add globally_enabled option to the discussion plone control panel. add plone.app.discussion to the package dependencies.

svn path=/plone.app.discussion/trunk/; revision=27273
This commit is contained in:
Timo Stollenwerk 2009-06-03 12:49:34 +00:00
parent f27156e916
commit 57c534b5d3
3 changed files with 8 additions and 5 deletions

View File

@ -11,9 +11,9 @@ class IDiscussionSettings(Interface):
configuration registry and obtainable via plone.registry.
"""
#globally_enabled = schema.Bool(title=_(u"Globally enabled"),
# description=_(u"Use this setting to enable or disable comments globally"),
# default=True)
globally_enabled = schema.Bool(title=_(u"Globally enabled"),
description=_(u"Use this setting to enable or disable comments globally"),
default=True)
class IConversation(IIterableMapping):
"""A conversation about a content object.

View File

@ -1,3 +1,6 @@
<metadata>
<version>1</version>
<dependencies>
<dependency>profile-plone.app.registry:default</dependency>
</dependencies>
</metadata>