From b40dce27dfe65f849005c45a19f01b5588525a27 Mon Sep 17 00:00:00 2001 From: Emmy D'Anello Date: Sun, 9 Apr 2023 11:32:26 +0200 Subject: [PATCH] Juries can't download ZIP archives with authorizations Signed-off-by: Emmy D'Anello --- .../templates/participation/team_detail.html | 12 +++++++----- participation/views.py | 4 ++-- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/participation/templates/participation/team_detail.html b/participation/templates/participation/team_detail.html index 45a29bb..0d6e0ed 100644 --- a/participation/templates/participation/team_detail.html +++ b/participation/templates/participation/team_detail.html @@ -115,11 +115,13 @@ {% if user.registration.is_volunteer %} - + {% if user.registration in self.team.participation.tournament.organizers or user.registration.is_admin %} + + {% endif %} {% endif %}