web/views/tabs.py
changeset 3890 d7a270f50f54
parent 3733 c3feb6a33f58
parent 3849 afba6d304e71
child 3998 94cc7cad3d2d
--- a/web/views/tabs.py	Sun Nov 08 21:53:18 2009 +0100
+++ b/web/views/tabs.py	Fri Nov 20 19:35:54 2009 +0100
@@ -20,8 +20,6 @@
 class LazyViewMixin(object):
     """provides two convenience methods for the tab machinery
     can also be used to lazy-load arbitrary views
-    caveat : lazyview is not recursive, i.e : you can't (successfully)
-    lazyload a view that in turns does the same
     """
 
     def _prepare_bindings(self, vid, reloadable):
@@ -190,7 +188,8 @@
     def cell_call(self, row, col):
         entity = self.complete_entity(row, col)
         self.render_entity_title(entity)
-        self.render_entity_metadata(entity)
+        # XXX uncomment this in 3.6
+        #self.render_entity_toolbox(entity)
         self.render_tabs(self.tabs, self.default_tab, entity)
 
 
@@ -203,7 +202,5 @@
 
     def render_entity_title(self, entity):
         pass
-
-    def render_entity_metadata(self, entity):
+    def render_entity_toolbox(self, entity):
         pass
-