diff options
author | Manuel Munz <freifunk@somakoma.de> | 2010-12-06 01:22:11 +0000 |
---|---|---|
committer | Manuel Munz <freifunk@somakoma.de> | 2010-12-06 01:22:11 +0000 |
commit | 698f7fde5e2dad85fdaefa8eb6d84d73de70a83f (patch) | |
tree | 74d8bc15bed0dd609122c8d26246f4689ca50d3b /themes | |
parent | 655a313479d76c453d08af0fc649ebc7b010a436 (diff) |
themes/freifunk-generic: Don't show js-warnings on Freifunk and Splash pages
Diffstat (limited to 'themes')
-rw-r--r-- | themes/freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm | 3 |
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 %> |