allow control ports list by port status

This commit is contained in:
Oliver Gorwits
2013-09-08 23:46:06 +01:00
parent 947614ddd8
commit 169242b29b
3 changed files with 41 additions and 12 deletions

View File

@@ -22,7 +22,7 @@
<i class="icon-remove"></i>
[% ELSIF row.stp == 'blocking' %]
<i class="icon-fullscreen text-info"></i>
[% ELSIF params.free OR row.is_free %]
[% ELSIF row.has_column('is_free') AND row.is_free %]
<i class="icon-arrow-down text-success"></i>
[% ELSIF row.up_admin == 'up' AND row.up == 'down' %]
<i class="icon-arrow-down text-error"></i>