1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-11-27 02:43:01 +00:00
nk20/templates/member/club_list.html
Pierre-antoine Comby 7a7cc2bfef minor fixes
2019-08-15 23:12:27 +02:00

21 lines
439 B
HTML

{% extends "base.html" %}
{% load render_table from django_tables2 %}
{% block content %}
{% render_table table %}
<a class="btn btn-primary" href="{% url 'member:club_create' %}">New Club</a>
{% endblock %}
{% block extrajavascript %}
<script type="text/javascript">
$(document).ready(function($) {
$(".table-row").click(function() {
window.document.location = $(this).data("href");
});
});
</script>
{% endblock %}