1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-12-23 16:02:25 +00:00
nk20/templates/member/club_list.html

22 lines
469 B
HTML
Raw Normal View History

2019-08-11 21:25:27 +00:00
{% extends "base.html" %}
2019-08-13 16:22:19 +00:00
{% load render_table from django_tables2 %}
2020-03-11 11:05:29 +00:00
{% load i18n %}
2019-08-11 21:25:27 +00:00
{% block content %}
2019-08-15 19:49:32 +00:00
{% render_table table %}
2019-08-13 16:22:19 +00:00
2020-03-11 11:05:29 +00:00
<a class="btn btn-primary" href="{% url 'member:club_create' %}">{% trans "New club" %}</a>
2019-08-15 19:49:32 +00:00
{% endblock %}
2019-08-15 21:12:27 +00:00
{% block extrajavascript %}
2019-08-15 19:49:32 +00:00
<script type="text/javascript">
$(document).ready(function($) {
$(".table-row").click(function() {
window.document.location = $(this).data("href");
});
});
</script>
2019-08-11 21:25:27 +00:00
{% endblock %}