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)
|
self.modify_employees([employee], weekdays)
|
||||||
|
|
||||||
context = {
|
context = {
|
||||||
|
'single': True,
|
||||||
'page_title': "Employee {}".format(self.get_title()),
|
'page_title': "Employee {}".format(self.get_title()),
|
||||||
'form': forms.FormRenderer(form) if form else None,
|
'form': forms.FormRenderer(form) if form else None,
|
||||||
'employee': employee,
|
'employee': employee,
|
||||||
|
|
Loading…
Reference in a new issue