mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-12 10:31:51 +00:00
Add label in interfaces list
This commit is contained in:
parent
2caf10d7f2
commit
f1072bb2fb
1 changed files with 1 additions and 0 deletions
|
@ -76,6 +76,7 @@ function render_status(node, ifc, with_device) {
|
|||
macaddr = maindev ? maindev.getMAC() : null;
|
||||
|
||||
return L.itemlist(node, [
|
||||
_('Label'), ifc.get('label'),
|
||||
_('Protocol'), with_device ? null : (desc || '?'),
|
||||
_('Device'), with_device ? (maindev ? maindev.getShortName() : E('em', _('Not present'))) : null,
|
||||
_('Uptime'), (!changecount && ifc.isUp()) ? '%t'.format(ifc.getUptime()) : null,
|
||||
|
|
Loading…
Reference in a new issue