diff --git a/judge/template_context.py b/judge/template_context.py index 52fe255b7..1d29bd9d6 100644 --- a/judge/template_context.py +++ b/judge/template_context.py @@ -66,7 +66,7 @@ def general_info(request): 'perms': PermWrapper(request.user), 'HAS_WEBAUTHN': bool(settings.WEBAUTHN_RP_ID), } - if request.user.is_superuser: + if request.user.is_staff: context['ticket_count'] = Ticket.objects.filter(is_open=True).count() return context