17 lines
447 B
HTML
17 lines
447 B
HTML
{% extends "base.html" %}
|
|
|
|
{% load django_tables2 i18n %}
|
|
|
|
{% block contenttitle %}
|
|
<h1>{% trans "All tournaments" %}</h1>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<div id="form-content">
|
|
{% render_table table %}
|
|
{% if user.registration.is_admin %}
|
|
<a class="btn btn-block btn-success" href="{% url "participation:tournament_create" %}">{% trans "Add tournament" %}</a>
|
|
{% endif %}
|
|
</div>
|
|
{% endblock %}
|