web/component.py
changeset 2293 7ded2a1416e4
parent 2058 7ef12c03447c
parent 2259 5d90bd26af8b
child 2381 caad2367d940
equal deleted inserted replaced
2235:d5987f75c97c 2293:7ded2a1416e4
    35     __select__ = one_line_rset() & primary_view() & match_context_prop()
    35     __select__ = one_line_rset() & primary_view() & match_context_prop()
    36     registered = accepts_compat(has_relation_compat(condition_compat(View.registered)))
    36     registered = accepts_compat(has_relation_compat(condition_compat(View.registered)))
    37 
    37 
    38     property_defs = {
    38     property_defs = {
    39         _('visible'):  dict(type='Boolean', default=True,
    39         _('visible'):  dict(type='Boolean', default=True,
    40                             help=_('display the box or not')),
    40                             help=_('display the component or not')),
    41         _('order'):    dict(type='Int', default=99,
    41         _('order'):    dict(type='Int', default=99,
    42                             help=_('display order of the component')),
    42                             help=_('display order of the component')),
    43         _('context'):  dict(type='String', default='header',
    43         _('context'):  dict(type='String', default='header',
    44                             vocabulary=(_('navtop'), _('navbottom'),
    44                             vocabulary=(_('navtop'), _('navbottom'),
    45                                         _('navcontenttop'), _('navcontentbottom')),
    45                                         _('navcontenttop'), _('navcontentbottom')),