diff options
Diffstat (limited to '')
-rw-r--r-- | templates/layout.jinja | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/templates/layout.jinja b/templates/layout.jinja index ee082f9..aa923d6 100644 --- a/templates/layout.jinja +++ b/templates/layout.jinja @@ -2,13 +2,6 @@ <html> <head> <meta charset=utf-8" > - {% if not g.is_mobile %} - {% block js %} - <script type="text/javascript" src="{{ "js/jquery-1.10.2.js" | static_url }}"></script> - <script type="text/javascript" src="{{ "js/kosten.js" | static_url }}"></script> - {% if JSFunction %}<script type="text/javascript">{{ JSFunction }}()</script> {% endif %} - {% endblock %} - {% endif %} <link rel="shortcut icon" href="{{ "images/currency.png" | static_url }}" type="image/icon"> <title>{{ title or "Kostenverwaltung" }}</title> {% block style %} @@ -54,5 +47,12 @@ </p> {% endblock %} </div> + {% if not g.is_mobile %} + {% block js %} + <script type="text/javascript" src="{{ "js/jquery-1.10.2.js" | static_url }}"></script> + <script type="text/javascript" src="{{ "js/kosten.js" | static_url }}"></script> + {% endblock %} + {% if JSFunction %}<script type="text/javascript">{{ JSFunction }}()</script> {% endif %} + {% endif %} </body> </html> |