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>
This commit is contained in:
David Nind 2022-11-14 21:14:40 +00:00 committed by Tomas Cohen Arazi
parent 84f9e30810
commit ecbcc2884c
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

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' %]