From 56235fef13f23e4d9aa8ec4ffab4200d581bf983 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Mon, 12 Aug 2019 17:14:22 -0300 Subject: [PATCH] Bug 14570: (QA follow-up) Consistency displaying the list of guarantors Signed-off-by: Tomas Cohen Arazi Signed-off-by: Kyle M Hall Signed-off-by: Agustin Moyano Signed-off-by: Liz Rea --- .../intranet-tmpl/prog/en/modules/members/moremember.tt | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt index 8076459074..090c608845 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt @@ -271,15 +271,21 @@ [% ELSIF guarantor_relationships %] - [% FOREACH gr IN guarantor_relationships %]
  • + [% IF guarantor_relationships.count > 1 %] + Guarantors: + [% ELSE %] Guarantor: - [% SET guarantor = gr.guarantor %] - [% IF logged_in_user.can_see_patron_infos( guarantor ) %] - [% guarantor.firstname | html %] [% guarantor.surname | html %] + [% END %] +
  • - [% END %] [% END %] [% # /div.rows %] -- 2.11.0