luci/po: spelling and grammar fixes by Alex Henrie
[project/luci.git] / modules / admin-full / luasrc / view / admin_network / iface_status.htm
index f80fb5e..8136383 100644 (file)
                                                '<img src="<%=resource%>/icons/%s%s.png" style="width:16px; height:16px" />' +
                                                '<br /><small>%s</small>',
                                                        ifc.type, ifc.is_up ? '' : '_disabled',
-                                                       ifc.is_up ? ifc.ifname : '?'
+                                                       ifc.name
                                        );
 
                                var d = document.getElementById('<%=self.option%>-ifc-description');
-                               if (d && ifc.ifname && ifc.macaddr != '00:00:00:00:00:00')
+                               if (d && ifc.ifname)
                                {
                                        if (ifc.is_up)
                                        {
@@ -27,7 +27,7 @@
 
                                        if (ifc.type != 'tunnel')
                                        {
-                                               html += String.format('<strong><%:MAC Address%>:</strong> %s<br />', ifc.macaddr);
+                                               html += String.format('<strong><%:MAC-Address%>:</strong> %s<br />', ifc.macaddr);
                                        }
 
                                        html += String.format(