From: Jo-Philipp Wich Date: Thu, 26 Jul 2018 17:20:39 +0000 (+0200) Subject: luci-mod-admin-full: abbreviate "MAC-Address" as "MAC" to align with rest X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=58bd130a802bde95a270b9f1a47c98c3909f43b2;p=project%2Fluci.git luci-mod-admin-full: abbreviate "MAC-Address" as "MAC" to align with rest Signed-off-by: Jo-Philipp Wich (cherry picked from commit 8a1bc1814f1cb654e49c1b6352378b1a7e58100b) --- diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_network/iface_overview_status.htm b/modules/luci-mod-admin-full/luasrc/view/admin_network/iface_overview_status.htm index bdf1c083ae..7427154a04 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_network/iface_overview_status.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_network/iface_overview_status.htm @@ -110,7 +110,7 @@ if (!ifc.is_dynamic && !ifc.is_alias) { if (ifc.macaddr) - html += String.format('<%:MAC-Address%>: %s
', ifc.macaddr); + html += String.format('<%:MAC%>: %s
', ifc.macaddr); html += String.format( '<%:RX%>: %.2mB (%d <%:Pkts.%>)
' + diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_network/iface_status.htm b/modules/luci-mod-admin-full/luasrc/view/admin_network/iface_status.htm index 9c5173dae2..34be35dd20 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_network/iface_status.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_network/iface_status.htm @@ -17,7 +17,7 @@ html += String.format('<%:Uptime%>: %t
', ifc.uptime); if (ifc.macaddr) - html += String.format('<%:MAC-Address%>: %s
', ifc.macaddr); + html += String.format('<%:MAC%>: %s
', ifc.macaddr); html += String.format( '<%:RX%>: %.2mB (%d <%:Pkts.%>)
' +