Move the Trainwreck (Transactions) menu entry under Reporting
This commit is contained in:
parent
cb00ded72d
commit
70c4b6e3b2
|
@ -217,6 +217,13 @@ def simple_menus(request):
|
|||
'url': url('report_output'),
|
||||
'perm': 'report_output.list',
|
||||
},
|
||||
{'type': 'sep'},
|
||||
{
|
||||
'title': "Trainwreck",
|
||||
'url': url('trainwreck.transactions'),
|
||||
'perm': 'trainwreck.transactions.list',
|
||||
},
|
||||
{'type': 'sep'},
|
||||
{
|
||||
'title': "Problem Reports",
|
||||
'url': url('problem_reports'),
|
||||
|
@ -225,18 +232,6 @@ def simple_menus(request):
|
|||
],
|
||||
}
|
||||
|
||||
trainwreck_menu = {
|
||||
'title': "Trainwreck",
|
||||
'type': 'menu',
|
||||
'items': [
|
||||
{
|
||||
'title': "Transactions",
|
||||
'url': url('trainwreck.transactions'),
|
||||
'perm': 'trainwreck.transactions.list',
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
admin_menu = {
|
||||
'title': "Admin",
|
||||
'type': 'menu',
|
||||
|
@ -330,9 +325,6 @@ def simple_menus(request):
|
|||
if include_locsms:
|
||||
menus.append(locsms_menu)
|
||||
|
||||
if rattail_config.trainwreck_engine:
|
||||
menus.append(trainwreck_menu)
|
||||
|
||||
menus.extend([
|
||||
reporting_menu,
|
||||
admin_menu,
|
||||
|
|
Loading…
Reference in a new issue