Bug 32194: Capitalize "No" values for the patron categories "Can be guarantee" column

This fixes the display of the patron categories "Can be guarantee"
column so that "No" values have a capital "N".

Test plan:
1. Go to Administration > Patrons and circulation > Patron categories.
2. Note that for the "Can be guarantee" column, it shows "Yes" values
   with a capital "Y" and "no" values with a lowercase "n".
3. Apply the patch.
4. Refresh the page.
5. Note that any "No" values now have a capital "N".
6. Sign off D:

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit ecbcc2884c)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
David Nind 2022-11-14 21:14:40 +00:00 committed by Martin Renvoize
parent 2e430c5737
commit 714b4e720a
Signed by: martin.renvoize
GPG key ID: 422B469130441A0F

View file

@ -690,7 +690,7 @@
[% END %]
</td>
[% END %]
<td>[% IF category.can_be_guarantee %] Yes [% ELSE %] no [% END %]</td>
<td>[% IF category.can_be_guarantee %] Yes [% ELSE %] No [% END %]</td>
<td>
[% SWITCH category.default_privacy %]
[% CASE 'default' %]