From 80706cbafb55d559810ae6796abd083198def371 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 26 Jul 2018 19:15:22 +0200 Subject: [PATCH] luci-mod-admin-full: fix wifi overview display when no networks are defined Signed-off-by: Jo-Philipp Wich --- .../luasrc/model/cbi/admin_network/wifi_overview.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 32bf1965f..ad20f0918 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%>
-- 2.25.1