Only show STP blocked icon if port is UP
This commit is contained in:
@@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
* Suggest installation of perl-core RPM (arguably Red Hat's bug not ours!)
|
* Suggest installation of perl-core RPM (arguably Red Hat's bug not ours!)
|
||||||
* FATAL warnings considered harmful
|
* FATAL warnings considered harmful
|
||||||
|
* Only show STP blocked icon if port is UP
|
||||||
|
|
||||||
2.024004 - 2014-03-04
|
2.024004 - 2014-03-04
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
<td class="nd_center-cell nd_devport-icon">
|
<td class="nd_center-cell nd_devport-icon">
|
||||||
[% IF row.up_admin != 'up' %]
|
[% IF row.up_admin != 'up' %]
|
||||||
<i class="icon-remove"></i>
|
<i class="icon-remove"></i>
|
||||||
[% ELSIF row.stp == 'blocking' %]
|
[% ELSIF row.up == 'up' AND row.stp == 'blocking' AND NOT row.vlan_count > 1 %]
|
||||||
<i class="icon-fullscreen text-info"></i>
|
<i class="icon-fullscreen text-info"></i>
|
||||||
[% ELSIF row.has_column_loaded('is_free') AND row.is_free %]
|
[% ELSIF row.has_column_loaded('is_free') AND row.is_free %]
|
||||||
<i class="icon-arrow-down text-success"></i>
|
<i class="icon-arrow-down text-success"></i>
|
||||||
|
|||||||
Reference in New Issue
Block a user