1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-07-03 06:42:46 +02:00

Request validation is working

This commit is contained in:
Yohann D'ANELLO
2020-10-11 17:24:23 +02:00
parent 691d3c1660
commit acb718cdc0
3 changed files with 16 additions and 3 deletions

View File

@ -70,13 +70,16 @@
<i class="fas fa-video"></i> {% trans "Access to team participation" %} <i class="fas fa-video"></i>
</a>
</div>
{% elif team.participation.valid is None %} {# Team did not ask for validation #}
{% elif team.participation.valid == None %} {# Team did not ask for validation #}
{% if user.registration.participates %}
{% if can_validate %}
<div class="alert alert-info">
{% trans "Your team has at least 3 members and all photo authorizations were given: the team can be validated." %}
<div class="text-center">
<button class="btn btn-success">{% trans "Submit my team to validation" %}</button>
<form method="post">
{% csrf_token %}
<button class="btn btn-success" name="request-validation">{% trans "Submit my team to validation" %}</button>
</form>
</div>
</div>
{% else %}