luci-app-travelmate: sync with travelmate 0.9.6
[project/luci.git] / applications / luci-app-travelmate / luasrc / view / travelmate / stations.htm
index 402b1c1..11c36d4 100644 (file)
@@ -4,8 +4,8 @@ This is free software, licensed under the Apache License, Version 2.0
 -%>
 
 <%-
-  local write = io.write
-  local uci = require("luci.model.uci").cursor()
+  local write    = io.write
+  local uci      = require("luci.model.uci").cursor()
   local trmiface = uci:get("travelmate", "global", "trm_iface") or "trm_wwan"
 -%>
 
@@ -31,10 +31,10 @@ This is free software, licensed under the Apache License, Version 2.0
     local iface = s.network or ""
     if iface == trmiface then
       local section = s['.name'] or ""
-      local device = s.device or ""
-      local ssid = s.ssid or ""
-      local bssid = s.bssid or ""
-      local encryption = s.encryption or ""
+      local device = s.device or "-"
+      local ssid = s.ssid or "-"
+      local bssid = s.bssid or "-"
+      local encryption = s.encryption or "-"
       local disabled = s.disabled or ""
       local style = "color:#000000"
       if disabled == "0" then