Add 'single' context var when rendering timesheet template

This commit is contained in:
Lance Edgar 2018-01-26 12:01:58 -06:00
parent 1453d33123
commit eaad87c704

View file

@ -324,6 +324,7 @@ class TimeSheetView(View):
self.modify_employees([employee], weekdays)
context = {
'single': True,
'page_title': "Employee {}".format(self.get_title()),
'form': forms.FormRenderer(form) if form else None,
'employee': employee,