1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-11-30 02:13:01 +00:00
plateforme-tfjm2/templates/tournament/pool_list.html
2020-05-05 06:07:49 +02:00

24 lines
552 B
HTML

{% extends "base.html" %}
{% load i18n django_tables2 %}
{% block content %}
{% render_table table %}
{% if user.admin %}
<hr>
<a href="{% url "tournament:create_pool" %}"><button class="btn btn-secondary btn-block">{% trans "Add pool" %}</button></a>
{% endif %}
{% endblock %}
{% block extrajavascript %}
<script>
$(document).ready(function() {
$(".row-control").click(function() {
location.href = $(this).data("href");
});
});
</script>
{% endblock %}