mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-10-31 04:49:53 +01:00 
			
		
		
		
	Implement final selection
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
		| @@ -103,7 +103,24 @@ | ||||
|             <div class="card-body"> | ||||
|                 <ul> | ||||
|                     {% for participation, note in notes %} | ||||
|                         <li><strong>{{ participation.team }} :</strong> {{ note|floatformat }}</li> | ||||
|                         <li> | ||||
|                             <strong>{{ participation.team }} :</strong> {{ note|floatformat }} | ||||
|                             {% if participation.final %} | ||||
|                                 <span class="badge badge-sm bg-warning"> | ||||
|                                     <i class="fas fa-medal"></i> | ||||
|                                     {% trans "Selected for final tournament" %} | ||||
|                                 </span> | ||||
|                             {% endif %} | ||||
|                             {% if user.registration.is_admin or user.registration in tournament.organizers.all %} | ||||
|                                 {% if team_selectable_for_final == participation %} | ||||
|                                     <a href="{% url 'participation:select_team_final' pk=tournament.pk participation_id=participation.pk %}" | ||||
|                                        class="badge badge-sm bg-success"> | ||||
|                                         <i class="fas fa-medal"></i> | ||||
|                                         {% trans "Select for final tournament" %} | ||||
|                                     </a> | ||||
|                                 {% endif %} | ||||
|                             {% endif %} | ||||
|                         </li> | ||||
|                     {% endfor %} | ||||
|                 </ul> | ||||
|             </div> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user