luci-mod-admin-full: abbreviate "MAC-Address" as "MAC" to align with rest
authorJo-Philipp Wich <jo@mein.io>
Thu, 26 Jul 2018 17:20:39 +0000 (19:20 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 26 Jul 2018 17:20:39 +0000 (19:20 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-mod-admin-full/luasrc/view/admin_network/iface_overview_status.htm
modules/luci-mod-admin-full/luasrc/view/admin_network/iface_status.htm

index bdf1c083aebe971909ff5d8b98238449f0b06a37..7427154a047a909260f6c8ea093a6da3274ab979 100644 (file)
                                                if (!ifc.is_dynamic && !ifc.is_alias)
                                                {
                                                        if (ifc.macaddr)
-                                                               html += String.format('<strong><%:MAC-Address%>:</strong> %s<br />', ifc.macaddr);
+                                                               html += String.format('<strong><%:MAC%>:</strong> %s<br />', ifc.macaddr);
 
                                                        html += String.format(
                                                                '<strong><%:RX%>:</strong> %.2mB (%d <%:Pkts.%>)<br />' +
index 9c5173dae2b8fe01797e93b96a4196ba7ab41bcd..34be35dd20ffd203a832401635f61f11cf0cb60b 100644 (file)
@@ -17,7 +17,7 @@
                                                html += String.format('<strong><%:Uptime%>:</strong> %t<br />', ifc.uptime);
 
                                        if (ifc.macaddr)
-                                               html += String.format('<strong><%:MAC-Address%>:</strong> %s<br />', ifc.macaddr);
+                                               html += String.format('<strong><%:MAC%>:</strong> %s<br />', ifc.macaddr);
 
                                        html += String.format(
                                                '<strong><%:RX%></strong>: %.2mB (%d <%:Pkts.%>)<br />' +