mirror of https://gitlab.crans.org/bde/nk20
22 lines
470 B
HTML
22 lines
470 B
HTML
|
{% extends "base.html" %}
|
||
|
{% load render_table from django_tables2 %}
|
||
|
{% load i18n %}
|
||
|
{% block content %}
|
||
|
|
||
|
{% render_table table %}
|
||
|
|
||
|
<a class="btn btn-primary" href="{% url 'treasury:billing' %}">{% trans "New billing" %}</a>
|
||
|
|
||
|
{% endblock %}
|
||
|
{% block extrajavascript %}
|
||
|
<script type="text/javascript">
|
||
|
|
||
|
$(document).ready(function($) {
|
||
|
$(".table-row").click(function() {
|
||
|
window.document.location = $(this).data("href");
|
||
|
});
|
||
|
});
|
||
|
|
||
|
</script>
|
||
|
{% endblock %}
|