fix asta warning on single shift pages
This commit is contained in:
parent
5ee93aa8de
commit
7c19caab6b
|
@ -178,6 +178,7 @@ def shift(request, shiftid):
|
||||||
shift = get_object_or_404(Shift, pk=shiftid)
|
shift = get_object_or_404(Shift, pk=shiftid)
|
||||||
helper = request.helper
|
helper = request.helper
|
||||||
context = {
|
context = {
|
||||||
|
"enable_asta": global_preferences["helper__enable_asta"],
|
||||||
"can_register": False,
|
"can_register": False,
|
||||||
"is_registered": False,
|
"is_registered": False,
|
||||||
"can_cancel": False,
|
"can_cancel": False,
|
||||||
|
|
Loading…
Reference in New Issue