web/action.py
branch3.5
changeset 3220 11b6016e3970
parent 3219 be8cfc00ae04
child 3228 7b05b2709439
equal deleted inserted replaced
3219:be8cfc00ae04 3220:11b6016e3970
    30         'category': dict(type='String', default='moreactions',
    30         'category': dict(type='String', default='moreactions',
    31                          vocabulary=('mainactions', 'moreactions', 'addrelated',
    31                          vocabulary=('mainactions', 'moreactions', 'addrelated',
    32                                      'useractions', 'siteactions', 'hidden'),
    32                                      'useractions', 'siteactions', 'hidden'),
    33                          help=_('context where this component should be displayed')),
    33                          help=_('context where this component should be displayed')),
    34     }
    34     }
    35     site_wide = True # don't want user to configuration actions eproperties
    35     site_wide = True # don't want user to configurate actions
    36     category = 'moreactions'
    36     category = 'moreactions'
    37     # actions in category 'moreactions' can specify a sub-menu in which they should be filed
    37     # actions in category 'moreactions' can specify a sub-menu in which they should be filed
    38     submenu = None
    38     submenu = None
    39 
    39 
    40     def fill_menu(self, box, menu):
    40     def fill_menu(self, box, menu):