diff options
Diffstat (limited to '')
-rw-r--r-- | templates/expenses/add.jinja | 6 | ||||
-rw-r--r-- | templates/expenses/show.jinja | 6 |
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 %} |