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:
@ -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 %}
|
||||
|
Reference in New Issue
Block a user