--- 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)