From c84d4151bbeae24466658e120708d52cddb27bdf Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Sun, 27 Sep 2020 11:21:25 +0200 Subject: [PATCH] Display team authorizations --- .../templates/participation/team_detail.html | 11 +++++++++++ locale/fr/LC_MESSAGES/django.po | 16 ++++++++++++---- 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/apps/participation/templates/participation/team_detail.html b/apps/participation/templates/participation/team_detail.html index 66ccf60..a153925 100644 --- a/apps/participation/templates/participation/team_detail.html +++ b/apps/participation/templates/participation/team_detail.html @@ -31,6 +31,17 @@
{% trans "Grant Animath to publish our video:" %}
{{ team.grant_animath_access_videos|yesno }}
+ +
{% trans "Authorizations:" %}
+
+ {% for student in team.students.all %} + {% if student.photo_authorization %} + {{ student }}{% if not forloop.last %},{% endif %} + {% else %} + {{ student }} ({% trans "Not uploaded yet" %}){% if not forloop.last %},{% endif %} + {% endif %} + {% endfor %} +