1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 18:08:21 +02:00

Add render button

This commit is contained in:
Yohann D'ANELLO
2020-03-21 07:36:07 +01:00
parent b030f5797f
commit 8ecaef0daf
4 changed files with 22 additions and 20 deletions

View File

@ -3,19 +3,8 @@
{% load i18n %}
{% block content %}
{% render_table table %}
{% render_table table %}
<a class="btn btn-primary" href="{% url 'treasury:billing_create' %}">{% 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 %}