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

Add download link to notation sheets

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello
2023-03-31 17:51:46 +02:00
parent 0fa76d6f25
commit 7605b9cc00
5 changed files with 18 additions and 2 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -2,10 +2,22 @@
{% 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>
</div>
{% csrf_token %}
{{ form|crispy }}
</div>