Project

General

Profile

« Previous | Next » 

Revision 52a1d10c

Added by Frédéric Péters about 12 years ago

Use new backoffice home brought by w.c.s. (#1673)

View differences:

extra/auquotidien.py
35 35

  
36 36
rdb = get_publisher_class().backoffice_directory_class
37 37

  
38
rdb.items = []
39
rdb.register_menu_item('home', _('Pending Forms'))
40

  
38 41
rdb.register_menu_item('forms', None)
39 42
rdb.register_directory('forms', modules.forms_ui.FormsDirectory())
40
rdb.register_menu_item('forms/', _('Forms'))
41

  
42
rdb.register_menu_item('pending', _('Pending Forms'))
43
rdb.register_menu_item('forms/', _('Forms Management'), check_visibility)
43 44

  
44 45
rdb.register_directory('announces', modules.announces_ui.AnnouncesDirectory())
45 46
rdb.register_menu_item('announces/', _('Announces'), check_visibility)

Also available in: Unified diff