web/views/boxes.py
branchstable
changeset 6668 d651bf5a66a9
parent 6612 2f2871fbfb51
child 6785 c462147c9315
--- a/web/views/boxes.py	Wed Nov 03 16:40:10 2010 +0100
+++ b/web/views/boxes.py	Wed Nov 03 17:17:56 2010 +0100
@@ -170,9 +170,10 @@
     """display a box containing links to all possible views"""
     __regid__ = 'possible_views_box'
 
-    visible = False
+    contextual = True
     title = _('possible views')
     order = 10
+    visible = False # disabled by default
 
     def init_rendering(self):
         self.views = [v for v in self._cw.vreg['views'].possible_views(self._cw,
@@ -195,9 +196,10 @@
     """display a box containing links to all startup views"""
     __regid__ = 'startup_views_box'
 
-    visible = False # disabled by default
+    contextual = False
     title = _('startup views')
     order = 70
+    visible = False # disabled by default
 
     def init_rendering(self):
         self.views = [v for v in self._cw.vreg['views'].possible_views(self._cw)