summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-travelmate/luasrc/view
diff options
context:
space:
mode:
authorDirk Brenken <dev@brenken.org>2017-12-09 08:23:31 +0100
committerDirk Brenken <dev@brenken.org>2017-12-09 08:23:31 +0100
commitc7b39ae08f29f49b8b014054161b8b34a4cda8fb (patch)
tree2b5b5f30acd79739d8f711d09fff899f6cec2685 /applications/luci-app-travelmate/luasrc/view
parent2474cdd049c7e9523cc5055a97a86229943a2f3a (diff)
luci-app-travelmate: sync with travelmate 0.9.6
* Turris omnia compability fixes * OpenWrt theme fixes Signed-off-by: Dirk Brenken <dev@brenken.org>
Diffstat (limited to 'applications/luci-app-travelmate/luasrc/view')
-rw-r--r--applications/luci-app-travelmate/luasrc/view/travelmate/stations.htm12
1 files changed, 6 insertions, 6 deletions
diff --git a/applications/luci-app-travelmate/luasrc/view/travelmate/stations.htm b/applications/luci-app-travelmate/luasrc/view/travelmate/stations.htm
index 402b1c15c..11c36d427 100644
--- a/applications/luci-app-travelmate/luasrc/view/travelmate/stations.htm
+++ b/applications/luci-app-travelmate/luasrc/view/travelmate/stations.htm
@@ -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