web/component.py
changeset 3890 d7a270f50f54
parent 3777 3ef8cdb5fb1c
parent 3840 2eff4348b1e4
child 4089 ff92c7d692bf
--- a/web/component.py	Sun Nov 08 21:53:18 2009 +0100
+++ b/web/component.py	Fri Nov 20 19:35:54 2009 +0100
@@ -40,14 +40,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)