mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2024-11-30 00:53:02 +00:00
2b941cb30f
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
19 lines
538 B
HTML
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 %}
|