1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-22 01:18:27 +02:00

Add export button

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello
2023-03-25 20:38:58 +01:00
parent e95d511017
commit b838f1b3f0
5 changed files with 134 additions and 2 deletions

View File

@ -148,6 +148,14 @@
</div>
</div>
</div>
{% if user.registration.is_volunteer %}
<div id="export-{{ tournament.id }}"
class="card-footer text-center{% if not tournament.draw.exportable %} d-none{% endif %}">
<button class="btn btn-info text-center" onclick="exportDraw({{ tournament.id }})">
📁 {% trans "Export" %}
</button>
</div>
{% endif %}
</div>
</div>
</div>