Use default Catapult web menu

This commit is contained in:
Lance Edgar 2020-09-25 16:07:34 -05:00
parent 6b88090587
commit ed6e4f0e5b

View file

@ -133,43 +133,8 @@ def simple_menus(request):
}
if include_catapult:
catapult_menu = {
'title': "Catapult",
'type': 'menu',
'items': [
{
'title': "Departments",
'url': url('catapult.departments'),
'perm': 'catapult.departments.list',
},
{
'title': "Terminals",
'url': url('catapult.terminals'),
'perm': 'catapult.terminals.list',
},
{
'title': "Transactions",
'url': url('catapult.transactions'),
'perm': 'catapult.transactions.list',
},
{
'title': "Worksheets",
'url': url('catapult.worksheets'),
'perm': 'catapult.worksheets.list',
},
{'type': 'sep'},
{
'title': "Security Profiles",
'url': url('catapult.security_profiles'),
'perm': 'catapult.security_profiles.view',
},
{
'title': "Master Functions",
'url': url('catapult.master_functions'),
'perm': 'catapult.master_functions.view',
},
],
}
from tailbone_onager.menus import make_catapult_menu
catapult_menu = make_catapult_menu(request)
if include_corepos:
from tailbone_corepos.menus import make_corepos_menu