summaryrefslogtreecommitdiff
path: root/templates/root.mako
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--templates/root.mako10
1 files changed, 6 insertions, 4 deletions
diff --git a/templates/root.mako b/templates/root.mako
index b744bbd..19af96e 100644
--- a/templates/root.mako
+++ b/templates/root.mako
@@ -2,10 +2,12 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
- <%block name="js">
- <script type="text/javascript" src=${"/static/js/jquery-1.4.2.js" | url}></script>
- <script type="text/javascript" src=${"/static/js/lib.js" | url}></script>
- </%block>
+ % if not w.ctx.is_mobile:
+ <%block name="js">
+ <script type="text/javascript" src=${"/static/js/jquery-1.4.2.js" | url}></script>
+ <script type="text/javascript" src=${"/static/js/lib.js" | url}></script>
+ </%block>
+ % endif
<link rel="shortcut icon" href=${"/static/images/currency.png" | url} type="image/icon">
<title><%block name="title">Kostenverwaltung</%block></title>
<%block name="style">