1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-12-26 17:42:22 +00:00
plateforme-tfjm2/templates/tournament/pool_list.html

24 lines
552 B
HTML
Raw Normal View History

2020-05-05 02:45:38 +00:00
{% 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 %}
2020-05-05 04:07:49 +00:00
{% block extrajavascript %}
<script>
$(document).ready(function() {
$(".row-control").click(function() {
location.href = $(this).data("href");
});
});
</script>
{% endblock %}