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. configuration registry and obtainable via plone.registry.
""" """
#globally_enabled = schema.Bool(title=_(u"Globally enabled"), globally_enabled = schema.Bool(title=_(u"Globally enabled"),
# description=_(u"Use this setting to enable or disable comments globally"), description=_(u"Use this setting to enable or disable comments globally"),
# default=True) default=True)
class IConversation(IIterableMapping): class IConversation(IIterableMapping):
"""A conversation about a content object. """A conversation about a content object.

View File

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

View File

@ -1,4 +1,4 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<registry> <registry>
<records interface="plone.app.discussion.interfaces.IDiscussionSettings" /> <records interface="plone.app.discussion.interfaces.IDiscussionSettings" />
</registry> </registry>