Add basic support for datasync views
Still no actual daemon wired up yet, but can fake it for UI with this
This commit is contained in:
parent
db9deffaa6
commit
e9998cb597
|
@ -110,7 +110,7 @@
|
||||||
</li>
|
</li>
|
||||||
% endif
|
% endif
|
||||||
|
|
||||||
% if request.has_any_perm('users.list', 'roles.list', 'emailprofiles.list', 'settings.list'):
|
% if request.has_any_perm('users.list', 'roles.list', 'emailprofiles.list', 'datasync.list', 'settings.list'):
|
||||||
<li>
|
<li>
|
||||||
<a>Admin</a>
|
<a>Admin</a>
|
||||||
<ul>
|
<ul>
|
||||||
|
@ -123,6 +123,9 @@
|
||||||
% if request.has_perm('emailprofiles.list'):
|
% if request.has_perm('emailprofiles.list'):
|
||||||
<li>${h.link_to("Email Profiles", url('emailprofiles'))}</li>
|
<li>${h.link_to("Email Profiles", url('emailprofiles'))}</li>
|
||||||
% endif
|
% endif
|
||||||
|
% if request.has_perm('datasync.list'):
|
||||||
|
<li>${h.link_to("DataSync Changes", url('datasyncchanges'))}</li>
|
||||||
|
% endif
|
||||||
% if request.has_perm('settings.list'):
|
% if request.has_perm('settings.list'):
|
||||||
<li>${h.link_to("Settings", url('settings'))}</li>
|
<li>${h.link_to("Settings", url('settings'))}</li>
|
||||||
% endif
|
% endif
|
||||||
|
|
|
@ -33,6 +33,7 @@ def includeme(config):
|
||||||
# main table views
|
# main table views
|
||||||
config.include('tailbone.views.brands')
|
config.include('tailbone.views.brands')
|
||||||
config.include('tailbone.views.customers')
|
config.include('tailbone.views.customers')
|
||||||
|
config.include('tailbone.views.datasync')
|
||||||
config.include('tailbone.views.departments')
|
config.include('tailbone.views.departments')
|
||||||
config.include('rattail_demo.web.views.email')
|
config.include('rattail_demo.web.views.email')
|
||||||
config.include('rattail_demo.web.views.employees')
|
config.include('rattail_demo.web.views.employees')
|
||||||
|
|
Loading…
Reference in a new issue