summaryrefslogtreecommitdiff
path: root/templates/expenses/show.jinja
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2013-09-14 00:27:31 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2013-09-14 00:27:31 +0200
commitf475f0095f2b4af1acab8cfe3d6c866a71b73bf1 (patch)
treef43d5ca41f17765c56bf00afb0a523ffef805b2f /templates/expenses/show.jinja
parent9b358a4a3e6ce5cad229ba2fa6da9218e88b61e0 (diff)
downloadkosten-f475f0095f2b4af1acab8cfe3d6c866a71b73bf1.tar.gz
kosten-f475f0095f2b4af1acab8cfe3d6c866a71b73bf1.tar.bz2
kosten-f475f0095f2b4af1acab8cfe3d6c866a71b73bf1.zip
Replaced current JS by LS and generated JS
Diffstat (limited to '')
-rw-r--r--templates/expenses/show.jinja7
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 %}