Add 'single' context var when rendering timesheet template
This commit is contained in:
parent
1453d33123
commit
eaad87c704
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue