From abc8bb3e0e5e95ef392328a33adf62a963d657dc Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Mon, 18 May 2020 12:32:25 +0100 Subject: [PATCH] #713 Template processing issue prevents VLAN list displaying --- Changes | 6 ++++++ share/views/ajax/device/ports.tt | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Changes b/Changes index 390efe64..b67a2f85 100644 --- a/Changes +++ b/Changes @@ -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] diff --git a/share/views/ajax/device/ports.tt b/share/views/ajax/device/ports.tt index e607a34c..848351e3 100644 --- a/share/views/ajax/device/ports.tt +++ b/share/views/ajax/device/ports.tt @@ -220,7 +220,7 @@ [% IF vlan == 0 %][% SET vlan_count = (vlan_count - 1) %][% NEXT %][% END %] [% SET output = output _ '' _ vlan _ '' %] - [% 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 = '
(' _ vlan_count