[Products.SilvaExternalSources][Sylvain Viollon] Update base class.

[email protected] Thu, 31 Oct 2013 15:56:26 +0100
Newsgroups gmane.comp.web.zope.silva.cvs
Message-ID <[email protected]>
author:    Sylvain Viollon
date:      Thu Oct 31 15:56:23 2013 +0100
revision:  1131:2bc3a043f38b in Products.SilvaExternalSources
branch:    2.4
details:   https://hg.infrae.com/Products.SilvaExternalSources?cmd=changeset;node=2bc3a043f38b
modified:  Products/SilvaExternalSources/CodeSourceService.py
added:     
removed:   
log:       Update base class.


diffstat:

 Products/SilvaExternalSources/CodeSourceService.py |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (39 lines):

diff -r 9ed3cd2d8ea2 -r 2bc3a043f38b Products/SilvaExternalSources/CodeSourceService.py
--- a/Products/SilvaExternalSources/CodeSourceService.py	Tue Oct 29 17:19:04 2013 +0100
+++ b/Products/SilvaExternalSources/CodeSourceService.py	Thu Oct 31 15:56:23 2013 +0100
@@ -771,7 +771,7 @@
     grok.context(CodeSourceService)
 
 
-class ConfigureExisting(ExistingCodeSourcesMixin, rest.PageWithTemplateREST):
+class ConfigureExisting(ExistingCodeSourcesMixin, rest.FormWithTemplateREST):
     grok.adapts(rest.Screen, CodeSourceService)
     grok.name('admin-existing')
     grok.require('zope2.ViewManagementScreens')
@@ -794,7 +794,7 @@
 
 class ConfigureExistingMenu(menu.MenuItem):
     grok.adapts(menu.ContentMenu, CodeSourceService)
-    grok.order(10)
+    grok.order(20)
     name = _('Available')
     screen = ConfigureExisting
 
@@ -884,7 +884,7 @@
         need(jquery)
 
 
-class ConfigureInstall(InstallCodeSourcesMixin, rest.PageWithTemplateREST):
+class ConfigureInstall(InstallCodeSourcesMixin, rest.FormWithTemplateREST):
     grok.adapts(rest.Screen, CodeSourceService)
     grok.name('admin')
     grok.require('zope2.ViewManagementScreens')
@@ -906,7 +906,7 @@
 
 class ConfigureInstallMenu(menu.MenuItem):
     grok.adapts(menu.ContentMenu, CodeSourceService)
-    grok.order(15)
+    grok.order(10)
     name = _('Install')
     screen = ConfigureInstall