summaryrefslogtreecommitdiff
path: root/templates/expenses
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2016-05-01 14:32:19 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2016-05-01 14:32:19 +0200
commitd66ef2928b913b6eccb0ab05c95996dbea922773 (patch)
treecdc8d752274fdf1e0f2b28303fb4bbb1951ab9d2 /templates/expenses
parent78b318d350e404d2fccf174242638bcf4aca2f57 (diff)
downloadkosten-d66ef2928b913b6eccb0ab05c95996dbea922773.tar.gz
kosten-d66ef2928b913b6eccb0ab05c95996dbea922773.tar.bz2
kosten-d66ef2928b913b6eccb0ab05c95996dbea922773.zip
Overhaul js handling
Diffstat (limited to '')
-rw-r--r--templates/expenses/add.jinja6
-rw-r--r--templates/expenses/show.jinja6
2 files changed, 2 insertions, 10 deletions
diff --git a/templates/expenses/add.jinja b/templates/expenses/add.jinja
index 0941c3a..027c845 100644
--- a/templates/expenses/add.jinja
+++ b/templates/expenses/add.jinja
@@ -6,11 +6,7 @@
{% endblock %}
{% set JSFunction = "addJS" %}
-
-{% block js %}
- {{ super() }}
- <script type="text/javascript" src="{{ "jqueryui/jquery-ui.js" | static_url }}"></script>
-{% endblock %}
+{% set additionalJS = "jqueryui" %}
{% block style %}
{{ super() }}
diff --git a/templates/expenses/show.jinja b/templates/expenses/show.jinja
index e6c40de..59da032 100644
--- a/templates/expenses/show.jinja
+++ b/templates/expenses/show.jinja
@@ -2,11 +2,7 @@
{% from "macros.jinja" import left_arrow, right_arrow, colorize %}
{% set JSFunction = "showJS" %}
-
-{% block js %}
- {{ super() }}
- <script type="text/javascript" src="{{ "js/highstock-2.1.5.js" | static_url }}"></script>
-{% endblock %}
+{% set additionalJS = "highstock" %}
{% block heading %}
{% if exps | length > 1 %}