Add menu links to generate new project, plus docs, source code etc.

This commit is contained in:
Lance Edgar 2020-09-06 14:47:44 -05:00
parent 34ab56247b
commit 2619869ceb
2 changed files with 30 additions and 0 deletions

View file

@ -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", 'title': "Admin",
'type': 'menu', 'type': 'menu',

View file

@ -48,3 +48,6 @@ def includeme(config):
config.include('tailbone.views.handheld') config.include('tailbone.views.handheld')
config.include('tailbone.views.batch.inventory') config.include('tailbone.views.batch.inventory')
config.include('tailbone.views.batch.importer') config.include('tailbone.views.batch.importer')
# generate new project
config.include('tailbone.views.projects')