#713 Template processing issue prevents VLAN list displaying

This commit is contained in:
Oliver Gorwits
2020-05-18 12:32:25 +01:00
parent 24a6c88a60
commit abc8bb3e0e
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
2.045005 - 2020-05-18
[BUG FIXES]
* #713 Template processing issue prevents VLAN list displaying
2.045004 - 2020-05-15
[BUG FIXES]

View File

@@ -220,7 +220,7 @@
[% IF vlan == 0 %][% SET vlan_count = (vlan_count - 1) %][% NEXT %][% END %]
[% SET output = output _
'<a href="' _ uri_for('/search') _ '?tab=vlan&q=' _ vlan _ '">' _ vlan _ '</a>' %]
[% SET output = output _ ', ' IF NOT loop.last %]
[% IF NOT loop.last %][% SET output = output _ ', ' %][% END %]
[% END %]
[% IF vlan_count > 10 %] [%# TODO make this a settable variable %]
[% SET output = '<div class="nd_vlan-total">(' _ vlan_count