Add speed_admin to device ports tab (#650) (#653)

* Add speed_admin to device ports tab (#650)

* move from device_port_properties to device_port table, and tidy up
This commit is contained in:
Christian Ramseyer
2019-09-23 14:58:26 +02:00
committed by Oliver Gorwits
parent 26960bdd34
commit 8ffdff3bbc
8 changed files with 45 additions and 36 deletions

View File

@@ -175,6 +175,10 @@
<td>[% row.speed | html_entity %]</td>
[% END %]
[% IF params.c_speed_admin %]
<td>[% row.speed_admin | html_entity %]</td>
[% END %]
[% IF params.c_error %]
<td>[% row.error_disable_cause | html_entity %]</td>
[% END %]

View File

@@ -91,6 +91,10 @@
[% myport.push(row.speed) %]
[% END %]
[% IF params.c_speed_admin %]
[% myport.push(row.speed_admin) %]
[% END %]
[% IF params.c_error %]
[% myport.push(row.error_disable_cause) %]
[% END %]