From: Jo-Philipp Wich Date: Thu, 26 Jul 2018 17:15:22 +0000 (+0200) Subject: luci-mod-admin-full: fix wifi overview display when no networks are defined X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=198474f690484d149a8f473dda109c13cee9f65a;p=project%2Fluci.git luci-mod-admin-full: fix wifi overview display when no networks are defined Signed-off-by: Jo-Philipp Wich (cherry picked from commit 80706cbafb55d559810ae6796abd083198def371) --- diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi_overview.lua b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi_overview.lua index 32bf1965f3..ad20f09187 100644 --- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi_overview.lua +++ b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi_overview.lua @@ -70,7 +70,7 @@ local tpl_radio = tpl.Template(nil, [[
- <%=dev:name()%> + <%=dev:name()%>
<%=hw%>
@@ -115,8 +115,8 @@ local tpl_radio = tpl.Template(nil, [[
<% end %> <% else %> -
-
+
+
<%:No network configured on this device%>