1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-21 05:18:26 +02:00

Customize the notation sheet template for juries

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello
2023-04-07 21:47:06 +02:00
parent b921ca045e
commit 505a94e3aa
9 changed files with 535 additions and 12 deletions

View File

@ -2,20 +2,13 @@
{% load crispy_forms_tags %}
{% load i18n %}
{% load static %}
{% block content %}
<form method="post" enctype="multipart/form-data">
<div id="form-content">
<div class="alert alert-info">
{% if object.participations.count == 3 %}
<a class="alert-link" href="{% static "Fiche notations - 3 équipes.ods" %}">
{% elif object.participations.count == 4 %}
<a class="alert-link" href="{% static "Fiche notations - 4 équipes.ods" %}">
{% elif object.participations.count == 5 %}
<a class="alert-link" href="{% static "Fiche notations - 5 équipes.ods" %}">
{% endif %}
{% trans "Download empty notation sheet" %}
<a class="alert-link" href="{% url "participation:pool_notes_template" pk=pool.pk %}">
{% trans "Download empty notation sheet" %}
</a>
</div>
{% csrf_token %}