modules/freifunk: Fix display of warning about diversity
This commit is contained in:
parent
6907d1f2cd
commit
6a3640cee2
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ luci.i18n.loadc("freifunk")
|
||||||
local device = section[".name"]
|
local device = section[".name"]
|
||||||
local url = luci.dispatcher.build_url(luci.dispatcher.context.path[1], "network", "wireless")
|
local url = luci.dispatcher.build_url(luci.dispatcher.context.path[1], "network", "wireless")
|
||||||
if section.diversity ~= "0" and section.disabled ~= "1" and section.type ~= "mac80211" then
|
if section.diversity ~= "0" and section.disabled ~= "1" and section.type ~= "mac80211" then
|
||||||
print('<div class="error">' .. translate("Diversity is enabled for device") .. ' <b>' .. device .. '</b>. '
|
print('<div class="error">' .. translate("Diversity is enabled for device") .. ' <b>' .. section[".name"] .. '</b>. '
|
||||||
.. translate("Go to") .. ' <a href="' .. url .. '">' .. translate("wireless settings") .. '</a> ' ..
|
.. translate("Go to") .. ' <a href="' .. url .. '">' .. translate("wireless settings") .. '</a> ' ..
|
||||||
translate("to disable it.") .. '</div><p />')
|
translate("to disable it.") .. '</div><p />')
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue