From: Dirk Brenken Date: Thu, 27 Dec 2018 06:19:24 +0000 (+0100) Subject: luci-app-travelmate: adapt latest css changes X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=refs%2Fpull%2F2402%2Fhead;p=oweals%2Fluci.git luci-app-travelmate: adapt latest css changes Signed-off-by: Dirk Brenken --- diff --git a/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua b/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua index e98cde719..5792536ba 100644 --- a/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua +++ b/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua @@ -76,7 +76,8 @@ if dump then local i, v for i, v in ipairs(dump.interface) do if v.interface ~= "loopback" and v.interface ~= "lan" then - o4:value(v.interface) + local device = v.l3_device or v.device or "-" + o4:value(v.interface, v.interface.. " (" ..device.. ")") end end end diff --git a/applications/luci-app-travelmate/luasrc/view/travelmate/travelmate_css.htm b/applications/luci-app-travelmate/luasrc/view/travelmate/travelmate_css.htm index 14afe3997..36b008186 100644 --- a/applications/luci-app-travelmate/luasrc/view/travelmate/travelmate_css.htm +++ b/applications/luci-app-travelmate/luasrc/view/travelmate/travelmate_css.htm @@ -1,8 +1,8 @@