Add menu links to generate new project, plus docs, source code etc.
This commit is contained in:
parent
34ab56247b
commit
2619869ceb
|
@ -222,6 +222,33 @@ def simple_menus(request):
|
|||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
'title': "Other",
|
||||
'type': 'menu',
|
||||
'items': [
|
||||
{
|
||||
'title': "Documentation",
|
||||
'url': 'https://rattailproject.org/moin/RattailDemo',
|
||||
'target': '_blank',
|
||||
},
|
||||
{
|
||||
'title': "Source Code",
|
||||
'url': 'https://kallithea.rattailproject.org/rattail-project/rattail-demo',
|
||||
'target': '_blank',
|
||||
},
|
||||
{
|
||||
'title': "RattailProject.org",
|
||||
'url': 'https://rattailproject.org',
|
||||
'target': '_blank',
|
||||
},
|
||||
{'type': 'sep'},
|
||||
{
|
||||
'title': "Generate New Project",
|
||||
'url': url('generate_project'),
|
||||
'perm': 'common.generate_project',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
'title': "Admin",
|
||||
'type': 'menu',
|
||||
|
|
|
@ -48,3 +48,6 @@ def includeme(config):
|
|||
config.include('tailbone.views.handheld')
|
||||
config.include('tailbone.views.batch.inventory')
|
||||
config.include('tailbone.views.batch.importer')
|
||||
|
||||
# generate new project
|
||||
config.include('tailbone.views.projects')
|
||||
|
|
Loading…
Reference in a new issue