diff options
author | Jo-Philipp Wich <jo@mein.io> | 2016-08-04 11:42:40 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2016-08-04 11:45:30 +0200 |
commit | bd4534496a9e3fc1f1c33b7e8aafb7c41f2afad2 (patch) | |
tree | 61983adbe66921485f73960e7f9573bde6947238 /modules | |
parent | 123f14b55d8ec80a8fdd328daad51a7b1532da06 (diff) |
luci-mod-admin-full: status page formatting fix
Display a question mark for undefined SSID and BSSID strings.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules')
-rw-r--r-- | modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm b/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm index 8c3e01e60..eb4648806 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm @@ -471,7 +471,7 @@ '<strong><%:Bitrate%>:</strong> %s <%:Mbit/s%><br />', icon, net.signal, net.noise, net.quality, - net.link, net.ssid, + net.link, net.ssid || '?', net.mode, net.channel, net.frequency, net.bitrate || '?' @@ -482,7 +482,7 @@ s += String.format( '<strong><%:BSSID%>:</strong> %s<br />' + '<strong><%:Encryption%>:</strong> %s', - net.bssid, + net.bssid || '?', net.encryption ); } |