1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-06-21 22:38:20 +02:00

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">