diff options
Diffstat (limited to 'templates/expenses/show.jinja')
-rw-r--r-- | templates/expenses/show.jinja | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/templates/expenses/show.jinja b/templates/expenses/show.jinja index a3b9422..8052757 100644 --- a/templates/expenses/show.jinja +++ b/templates/expenses/show.jinja @@ -1,6 +1,8 @@ {% extends "layout.jinja" %} {% from "macros.jinja" import left_arrow, right_arrow, colorize %} +{% set JSFunction = "showJS" %} + {% block heading %} {% if exps | length > 1 %} Aktuelle Kosten @@ -9,11 +11,6 @@ {% endif %} {% endblock %} -{% block js %} - {{ super() }} - <script type="text/javascript" src="{{ "js/show.js" | static_url }}"></script> -{% endblock %} - {% block content %} {% for e in exps %} {% if exps | length > 1 %}<h2>{{e|date}}</h2>{% endif %} |