From: Manuel Munz Date: Thu, 27 Jan 2011 14:25:28 +0000 (+0000) Subject: luci-0.10: One part of the merge was missing X-Git-Tag: 0.10.0~212 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=767a413e96bff3e0f570eb14128456393a0d6e26;p=oweals%2Fluci.git luci-0.10: One part of the merge was missing --- diff --git a/modules/freifunk/luasrc/view/freifunk/adminindex.htm b/modules/freifunk/luasrc/view/freifunk/adminindex.htm index d2bf0b7ea..57f6bddba 100644 --- a/modules/freifunk/luasrc/view/freifunk/adminindex.htm +++ b/modules/freifunk/luasrc/view/freifunk/adminindex.htm @@ -26,8 +26,17 @@ local basicsurl = luci.dispatcher.build_url(luci.dispatcher.context.path[1], "fr <% if not (contact.nickname and contact.name and contact.mail) then%>
<%:Contact information missing. Please go to this page and fill all required fields: %> - <%:Contact%> + <%:Contact%>

<%end%> +<% uci:foreach("wireless", "wifi-device", function(section) + local device = section[".name"] + local url = luci.dispatcher.build_url(luci.dispatcher.context.path[1], "network", "wireless") + if section.diversity ~= "0" and section.disabled ~= "1" then + print('
Diversity is enabled for device ' .. device .. '. Go to wireless settings to change that.

') + end +end) %> + + <%+footer%>