From fd2423140705292b5f4d3b28afaf7abea7b7103a Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Fri, 9 Jun 2023 09:46:47 +0000 Subject: [PATCH] Bug 33968: Add missing colons to guarantor related labels Fixes some inconsistencies with the labels on the patron detail page and patron edit form. To test: * Activate AllowStaffToSetCheckoutsVisibilityForGuarantor and AllowStaffToSetFinesVisibilityForGuarantor system preferences * Link a patron to a guarantor * Verify on the details tab the options for showing fines and checkouts show and are missing colons on the label * Edit the patorn and verify the same is true for the form * Apply patch * Verify missing colons have been added :) Signed-off-by: Sally Signed-off-by: Tomas Cohen Arazi (cherry picked from commit d7e189b5bf187184c83645b5d26cc49b56d8f408) Signed-off-by: Martin Renvoize --- .../intranet-tmpl/prog/en/modules/members/memberentrygen.tt | 4 ++-- koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt index 35a0778aed..05f1cf66ce 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -581,7 +581,7 @@ legend:hover { [% IF Koha.Preference('AllowStaffToSetCheckoutsVisibilityForGuarantor') %]
  • - + [% IF borrower_data.privacy_guarantor_fines %] 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 991cf3c3c3..bad172ba54 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt @@ -182,7 +182,7 @@ [% END %] [% END %]
  • - Show checkouts to guarantor + Show checkouts to guarantor: [% IF patron.privacy_guarantor_checkouts %] Yes [% ELSE %] @@ -191,7 +191,7 @@
  • - Show charges to guarantor + Show charges to guarantor: [% IF patron.privacy_guarantor_fines %] Yes [% ELSE %] -- 2.39.5