nk20/templates/member/club_list.html

21 lines
439 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 %}
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 %}