1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-21 16:38:23 +02:00

Add payments table page

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello
2024-02-23 22:58:23 +01:00
parent 5cbc72b41f
commit 2c54f315f6
7 changed files with 218 additions and 80 deletions

View File

@ -73,6 +73,14 @@
<div id="teams_table">
{% render_table teams %}
</div>
{% if user.registration.is_admin or user.registration in tournament.organizers.all %}
<div class="text-center">
<a href="{% url "participation:tournament_payments" pk=tournament.pk %}" class="btn btn-secondary">
<i class="fas fa-money-bill-wave"></i> {% trans "Access to payments list" %}
</a>
</div>
{% endif %}
{% if pools.data %}
<hr>

View File

@ -0,0 +1,11 @@
{% extends "base.html" %}
{% load django_tables2 i18n %}
{% block content %}
{% render_table table %}
<a href="{% url "participation:tournament_detail" pk=tournament.pk %}" class="btn btn-primary">
<i class="fas fa-long-arrow-alt-left"></i> {% trans "Back to tournament page" %}
</a>
{% endblock %}