themes/freifunk-generic: Don't show js-warnings on Freifunk and Splash pages
authorManuel Munz <freifunk@somakoma.de>
Mon, 6 Dec 2010 01:22:11 +0000 (01:22 +0000)
committerManuel Munz <freifunk@somakoma.de>
Mon, 6 Dec 2010 01:22:11 +0000 (01:22 +0000)
themes/freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm

index a6d82d9060097cc935106c8588fb46f0d745a125..bb638d9382f0da9fb212427a0c4473b6bbac9c00 100644 (file)
@@ -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 %>