Commit a55b3ebc authored by Jim Fulton's avatar Jim Fulton

Removed 'propertysheets' step in navigation of subinterfaces.

parent 02c2de5f
...@@ -340,17 +340,18 @@ class ZClass(OFS.SimpleItem.SimpleItem): ...@@ -340,17 +340,18 @@ class ZClass(OFS.SimpleItem.SimpleItem):
"Display a class icon" "Display a class icon"
return self._zclass_.ziconImage.index_html(REQUEST, RESPONSE) return self._zclass_.ziconImage.index_html(REQUEST, RESPONSE)
def tpValues(self): return self.propertysheets, def tpValues(self):
return self.propertysheets.common, self.propertysheets.methods
class ZClassSheets(OFS.PropertySheets.PropertySheets): class ZClassSheets(OFS.PropertySheets.PropertySheets):
"Manage a collection of property sheets that provide ZClass management" "Manage a collection of property sheets that provide ZClass management"
isPrincipiaFolderish=1 #isPrincipiaFolderish=1
def tpValues(self): return self.methods, self.common #def tpValues(self): return self.methods, self.common
def tpURL(self): return 'propertysheets' #def tpURL(self): return 'propertysheets'
def manage_workspace(self, URL1): #def manage_workspace(self, URL1):
"Emulate standard interface for use with navigation" # "Emulate standard interface for use with navigation"
raise 'Redirect', URL1+'/manage' # raise 'Redirect', URL1+'/manage'
views = Basic.ZClassViewsSheet('views') views = Basic.ZClassViewsSheet('views')
basic = Basic.ZClassBasicSheet('basic') basic = Basic.ZClassBasicSheet('basic')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment