diff --git a/theo/web/menus.py b/theo/web/menus.py index c9f02e1..537ceb8 100644 --- a/theo/web/menus.py +++ b/theo/web/menus.py @@ -38,18 +38,24 @@ def simple_menus(request): 'title': "Orders", 'type': 'menu', 'items': [ - # { - # 'title': "New Order", - # 'url': url('custorders.new'), - # 'perm': 'custorders.create', - # }, - { - 'title': "All Orders", - 'url': url('custorders'), - 'perm': 'custorders.list', - }, { - 'title': "All Items", + 'title': "New Customer Order", + 'url': url('custorders.create'), + 'perm': 'custorders.create', + }, + { + 'title': "All New Orders", + 'url': url('new_custorders'), + 'perm': 'new_custorders.list', + }, + {'type': 'sep'}, + { + 'title': "All Customer Orders", + 'url': url('custorders'), + 'perm': 'custorders.list', + }, + { + 'title': "All Order Items", 'url': url('custorders.items'), 'perm': 'custorders.items.list', }, @@ -58,7 +64,7 @@ def simple_menus(request): # 'url': url('custorders.config'), # 'perm': 'custorders.configure', # }, - ], + ], } people_menu = {