From 4148b222b373b262a16a99faa314a47fa3994c0e 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 --- 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 275559f471..fb6c98e851 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 e5687c3dae..60dee0f22e 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