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
452 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 %}
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
2019-08-11 21:25:27 +00:00
<a class="btn btn-primary" href="{% url 'member:club_create' %}">New Club</a>
2019-08-15 19:49:32 +00:00
{% endblock %}
{% block javascript %}
{{ block.super }}
<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 %}