Redo the controlpanel UI.
svn path=/plone.app.discussion/trunk/; revision=33284
This commit is contained in:
@@ -17,13 +17,13 @@ class DiscussionSettingsEditForm(controlpanel.RegistryEditForm):
|
||||
description = _(u"""Some discussion related settings are not located
|
||||
in the Discussion Control Panel.
|
||||
|
||||
To enable moderation for content types, go to the
|
||||
Types Control Panel, and enable moderation for a
|
||||
specific content type.
|
||||
To enable comments for a specific content type,
|
||||
go to the Types Control Panel of this type and
|
||||
choose 'enable moderation'.
|
||||
|
||||
To enable comment moderation, go to the Types
|
||||
Control Panel, choose "Comment", and set the
|
||||
workflow to "Comment Review Workflow".
|
||||
To enable the moderation workflow for comments,
|
||||
go to the Types Control Panel, choose "Comment"
|
||||
and set workflow to "Comment Review Workflow".
|
||||
""")
|
||||
|
||||
def updateFields(self):
|
||||
@@ -34,9 +34,9 @@ class DiscussionSettingsEditForm(controlpanel.RegistryEditForm):
|
||||
|
||||
def updateWidgets(self):
|
||||
super(DiscussionSettingsEditForm, self).updateWidgets()
|
||||
self.widgets['globally_enabled'].label = u""
|
||||
self.widgets['anonymous_comments'].label = u""
|
||||
self.widgets['show_commenter_image'].label = u""
|
||||
self.widgets['globally_enabled'].label = u"Enable Comments"
|
||||
self.widgets['anonymous_comments'].label = u"Anonymous Comments"
|
||||
self.widgets['show_commenter_image'].label = u"Commenter Image"
|
||||
|
||||
|
||||
class DiscussionSettingsControlPanel(controlpanel.ControlPanelFormWrapper):
|
||||
|
||||
Reference in New Issue
Block a user