web/component.py
branchstable
changeset 3840 2eff4348b1e4
parent 3750 b7fa3d93640a
child 3890 d7a270f50f54
child 4212 ab6573088b4a
--- a/web/component.py	Fri Nov 13 11:14:48 2009 +0100
+++ b/web/component.py	Fri Nov 13 11:16:24 2009 +0100
@@ -42,14 +42,14 @@
                             help=_('display the component or not')),
         _('order'):    dict(type='Int', default=99,
                             help=_('display order of the component')),
-        _('context'):  dict(type='String', default='header',
+        _('context'):  dict(type='String', default='navtop',
                             vocabulary=(_('navtop'), _('navbottom'),
-                                        _('navcontenttop'), _('navcontentbottom')),
-                            #vocabulary=(_('header'), _('incontext'), _('footer')),
+                                        _('navcontenttop'), _('navcontentbottom'),
+                                        _('ctxtoolbar')),
                             help=_('context where this component should be displayed')),
     }
 
-    context = 'navcontentbottom' # 'footer' | 'header' | 'incontext'
+    context = 'navcontentbottom'
 
     def call(self, view=None):
         return self.cell_call(0, 0, view=view)