Display team authorizations

This commit is contained in:
Yohann D'ANELLO 2020-09-27 11:21:25 +02:00
parent 698fc46072
commit c84d4151bb
2 changed files with 23 additions and 4 deletions

View File

@ -31,6 +31,17 @@
<dt class="col-sm-6 text-right">{% trans "Grant Animath to publish our video:" %}</dt>
<dd class="col-sm-6">{{ team.grant_animath_access_videos|yesno }}</dd>
<dt class="col-sm-6 text-right">{% trans "Authorizations:" %}</dt>
<dd class="col-sm-6">
{% for student in team.students.all %}
{% if student.photo_authorization %}
<a href="{{ student.photo_authorization.url }}" data-turbolinks="false">{{ student }}</a>{% if not forloop.last %},{% endif %}
{% else %}
{{ student }} ({% trans "Not uploaded yet" %}){% if not forloop.last %},{% endif %}
{% endif %}
{% endfor %}
</dd>
</dl>
</div>
<div class="card-footer text-center">

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Corres2math\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-09-24 22:51+0200\n"
"POT-Creation-Date: 2020-09-27 11:18+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Yohann D'ANELLO <yohann.danello@animath.fr>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -255,8 +255,16 @@ msgstr "Problème choisi :"
msgid "Grant Animath to publish our video:"
msgstr "Autoriser Animath à publier notre vidéo :"
#: apps/participation/templates/participation/team_detail.html:37
#: apps/participation/templates/participation/team_detail.html:42
#: apps/participation/templates/participation/team_detail.html:35
msgid "Authorizations:"
msgstr "Autorisations :"
#: apps/participation/templates/participation/team_detail.html:41
msgid "Not uploaded yet"
msgstr "Pas encore envoyée"
#: apps/participation/templates/participation/team_detail.html:48
#: apps/participation/templates/participation/team_detail.html:53
#: apps/participation/templates/participation/update_team.html:12
#: apps/registration/templates/registration/update_user.html:12
#: apps/registration/templates/registration/user_detail.html:50
@ -264,7 +272,7 @@ msgstr "Autoriser Animath à publier notre vidéo :"
msgid "Update"
msgstr "Modifier"
#: apps/participation/templates/participation/team_detail.html:41
#: apps/participation/templates/participation/team_detail.html:52
msgid "Update team"
msgstr "Modifier l'équipe"