From b4b95b97263f858f6dd19e71c26e0c5ba841e607 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 Signed-off-by: Tomas Cohen Arazi Signed-off-by: Martin Renvoize --- .../prog/en/modules/members/moremember.tt | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 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..95ad755bca 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt @@ -270,16 +270,22 @@ [% END %] - [% ELSIF guarantor_relationships %] - [% FOREACH gr IN guarantor_relationships %] + [% ELSIF guarantor_relationships.count > 0 %]
  • + [% 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.39.5