From 865aa87d75895b37e2d690c5e740300b12ecafc0 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 23 Aug 2019 14:36:36 +0000 Subject: [PATCH] Bug 23397: (QA follow-up) Replace mod 2 by last Looks better: Maps | Books | Continuing Resources Signed-off-by: Marcel de Rooy Signed-off-by: Martin Renvoize (cherry picked from commit 4148b222b373b262a16a99faa314a47fa3994c0e) Signed-off-by: Fridolin Somers --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/ordered.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/spent.tt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/ordered.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/ordered.tt index a0ee7d72d3..16f9f209b2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/ordered.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/ordered.tt @@ -56,8 +56,8 @@ [% FOREACH itemtype IN order.itemtypes %] - [% IF !(loop.count() mod 2) %] | [% END %] [% ItemTypes.GetDescription( itemtype ) | html %] + [% IF !loop.last() %] | [% END %] [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/spent.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/spent.tt index 43c442c11a..26e1b094a0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/spent.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/spent.tt @@ -57,8 +57,8 @@ [% FOREACH itemtype IN order.itemtypes %] - [% IF !(loop.count() mod 2) %] | [% END %] [% ItemTypes.GetDescription( itemtype ) | html %] + [% IF !loop.last() %] | [% END %] [% END %] -- 2.39.5