1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-12-27 09:02:23 +00:00
plateforme-tfjm2/participation/templates/participation/tournament_list.html
Emmy D'Anello 2b941cb30f
Rearrange base template with separated contents, add sidebar
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2024-02-11 18:43:23 +01:00

19 lines
538 B
HTML

{% extends request.content_only|yesno:"empty.html,base.html" %}
{% load django_tables2 i18n %}
{% block content-title %}
<h1>{% trans "All tournaments" %}</h1>
{% endblock %}
{% block content %}
<div id="form-content">
{% render_table table %}
{% if user.registration.is_admin %}
<div class="d-grid">
<a class="btn gap-0 btn-success" href="{% url "participation:tournament_create" %}">{% trans "Add tournament" %}</a>
</div>
{% endif %}
</div>
{% endblock %}