summaryrefslogtreecommitdiffhomepage
path: root/themes/freifunk-generic/luasrc
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2010-12-06 01:22:11 +0000
committerManuel Munz <freifunk@somakoma.de>2010-12-06 01:22:11 +0000
commit698f7fde5e2dad85fdaefa8eb6d84d73de70a83f (patch)
tree74d8bc15bed0dd609122c8d26246f4689ca50d3b /themes/freifunk-generic/luasrc
parent655a313479d76c453d08af0fc649ebc7b010a436 (diff)
themes/freifunk-generic: Don't show js-warnings on Freifunk and Splash pages
Diffstat (limited to 'themes/freifunk-generic/luasrc')
-rw-r--r--themes/freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm3
1 files changed, 2 insertions, 1 deletions
diff --git a/themes/freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm b/themes/freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm
index a6d82d906..bb638d938 100644
--- a/themes/freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm
+++ b/themes/freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm
@@ -185,10 +185,11 @@ if tree.nodes[category] and tree.nodes[category].ucidata then
<div class="clear"></div>
</div>
<div id="maincontent">
+<% if category ~= "freifunk" and category ~= "splash" then %>
<noscript>
<div class="errorbox">
<strong><%:Java Script required!%></strong><br />
<%:You must enable Java Script in your browser or LuCI will not work properly.%>
</div>
</noscript>
-
+<% end %>