From 8a1bc1814f1cb654e49c1b6352378b1a7e58100b Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 26 Jul 2018 19:20:39 +0200 Subject: [PATCH] luci-mod-admin-full: abbreviate "MAC-Address" as "MAC" to align with rest Signed-off-by: Jo-Philipp Wich --- .../luasrc/view/admin_network/iface_overview_status.htm | 2 +- .../luasrc/view/admin_network/iface_status.htm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 bdf1c083a..7427154a0 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 9c5173dae..34be35dd2 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.%>)
' + -- 2.25.1