Remove time clock, schedule views
those weren't very well supported, and that won't change anytime soon
This commit is contained in:
parent
92517605d8
commit
69316183f7
|
@ -3,39 +3,11 @@
|
||||||
Web Menus
|
Web Menus
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import unicode_literals, absolute_import
|
|
||||||
|
|
||||||
|
|
||||||
def simple_menus(request):
|
def simple_menus(request):
|
||||||
url = request.route_url
|
url = request.route_url
|
||||||
|
|
||||||
menus = [
|
menus = [
|
||||||
{
|
|
||||||
'title': "Time Clock",
|
|
||||||
'type': 'menu',
|
|
||||||
'items': [
|
|
||||||
{
|
|
||||||
'title': "Personal Schedule",
|
|
||||||
'url': url('schedule.employee'),
|
|
||||||
'perm': 'schedule.view',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
'title': "Full Schedule",
|
|
||||||
'url': url('schedule'),
|
|
||||||
'perm': 'schedule.viewall',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
'title': "Edit Schedule",
|
|
||||||
'url': url('schedule.edit'),
|
|
||||||
'perm': 'schedule.edit',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
'title': "Raw Scheduled Shifts",
|
|
||||||
'url': url('scheduledshifts'),
|
|
||||||
'perm': 'scheduledshifts.list',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
'title': "Products",
|
'title': "Products",
|
||||||
'type': 'menu',
|
'type': 'menu',
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
Web views
|
Web views
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import unicode_literals, absolute_import
|
|
||||||
|
|
||||||
|
|
||||||
def includeme(config):
|
def includeme(config):
|
||||||
|
|
||||||
|
@ -28,7 +26,6 @@ def includeme(config):
|
||||||
config.include('tailbone.views.reportcodes')
|
config.include('tailbone.views.reportcodes')
|
||||||
config.include('tailbone.views.roles')
|
config.include('tailbone.views.roles')
|
||||||
config.include('rattail_demo.web.views.settings')
|
config.include('rattail_demo.web.views.settings')
|
||||||
config.include('tailbone.views.shifts')
|
|
||||||
config.include('tailbone.views.stores')
|
config.include('tailbone.views.stores')
|
||||||
config.include('tailbone.views.subdepartments')
|
config.include('tailbone.views.subdepartments')
|
||||||
config.include('rattail_demo.web.views.tempmon')
|
config.include('rattail_demo.web.views.tempmon')
|
||||||
|
|
Loading…
Reference in a new issue