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:
parent
f27156e916
commit
57c534b5d3
@ -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.
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
<metadata>
|
<metadata>
|
||||||
<version>1</version>
|
<version>1</version>
|
||||||
|
<dependencies>
|
||||||
|
<dependency>profile-plone.app.registry:default</dependency>
|
||||||
|
</dependencies>
|
||||||
</metadata>
|
</metadata>
|
@ -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>
|
Loading…
Reference in New Issue
Block a user