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 <sally.healey@cheshiresharedservices.gov.uk>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit d7e189b5bf)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Katrin Fischer 2023-06-09 09:46:47 +00:00 committed by Martin Renvoize
parent b3c5a83f46
commit fd24231407
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
2 changed files with 4 additions and 4 deletions

View File

@ -581,7 +581,7 @@ legend:hover {
[% IF Koha.Preference('AllowStaffToSetCheckoutsVisibilityForGuarantor') %]
<li>
<label for="privacy_guarantor_checkouts">Show checkouts to guarantors</label>
<label for="privacy_guarantor_checkouts">Show checkouts to guarantors:</label>
<select name="privacy_guarantor_checkouts" id="privacy_guarantor_checkouts">
[% IF borrower_data.privacy_guarantor_checkouts %]
<option value="0">No</option>
@ -596,7 +596,7 @@ legend:hover {
[% END %]
[% IF Koha.Preference('AllowStaffToSetFinesVisibilityForGuarantor') %]
<li>
<label for="privacy_guarantor_fines">Show charges to guarantors</label>
<label for="privacy_guarantor_fines">Show charges to guarantors:</label>
<select name="privacy_guarantor_fines" id="privacy_guarantor_fines">
[% IF borrower_data.privacy_guarantor_fines %]
<option value="0">No</option>

View File

@ -182,7 +182,7 @@
[% END %]
[% END %]
<li id="patron-privacyguarantor">
<span class="label">Show checkouts to guarantor</span>
<span class="label">Show checkouts to guarantor:</span>
[% IF patron.privacy_guarantor_checkouts %]
Yes
[% ELSE %]
@ -191,7 +191,7 @@
</li>
<li id="patron-privacy_guarantor_fines">
<span class="label">Show charges to guarantor</span>
<span class="label">Show charges to guarantor:</span>
[% IF patron.privacy_guarantor_fines %]
Yes
[% ELSE %]