Rename @@discussion-settings to @@discussion-controlpanel
This commit is contained in:
@@ -133,6 +133,13 @@
|
||||
/>
|
||||
|
||||
<!-- Control panel -->
|
||||
<browser:page
|
||||
name="discussion-controlpanel"
|
||||
for="Products.CMFPlone.interfaces.IPloneSiteRoot"
|
||||
class=".controlpanel.DiscussionSettingsControlPanel"
|
||||
permission="cmf.ManagePortal"
|
||||
/>
|
||||
<!-- Deprecated controlpanel url -->
|
||||
<browser:page
|
||||
name="discussion-settings"
|
||||
for="Products.CMFPlone.interfaces.IPloneSiteRoot"
|
||||
|
||||
@@ -79,7 +79,7 @@ class DiscussionSettingsEditForm(controlpanel.RegistryEditForm):
|
||||
self.applyChanges(data)
|
||||
IStatusMessage(self.request).addStatusMessage(_(u"Changes saved"),
|
||||
"info")
|
||||
self.context.REQUEST.RESPONSE.redirect("@@discussion-settings")
|
||||
self.context.REQUEST.RESPONSE.redirect("@@discussion-controlpanel")
|
||||
|
||||
@button.buttonAndHandler(_('Cancel'), name='cancel')
|
||||
def handleCancel(self, action):
|
||||
|
||||
@@ -178,6 +178,7 @@
|
||||
/* Discussion Control Panel
|
||||
-------------------------------------------------------------------------- */
|
||||
|
||||
.template-discussion-controlpanel .unclickable,
|
||||
.template-discussion-settings .unclickable {
|
||||
opacity: 0.6;
|
||||
filter: alpha(opacity = 50);
|
||||
|
||||
Reference in New Issue
Block a user