Bug 36922: Patron attributes - update hint text for "Is a date"

The date field for patron attributes is now repeatable (enhancement made
in Koha 24.05 with bug 32610). This updates the hint text to reflect
the change.

Test plan:
1. Go to add a patron attribute (Administration > Patrons and
   circulation > Patron attribute types > + New patron attribute type )
2. Note that the hint for the "Is a date" field says "...Date attributes
   cannot be repeatable or linked to an authorised value category.".
3. Apply the patch.
4. Reload the page.
5. Note that the hint now says "...Date attributes are repeatable,
   but cannot be linked to an authorised value category."
6. Sign off D:

PA amended: 'are repeatable' -> 'can be repeatable'

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit a8e1d8dc90)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
David Nind 2024-05-31 21:19:57 +00:00 committed by Lucas Gass
parent cbc0d4161b
commit 9b8e18657e

View file

@ -154,7 +154,7 @@
[% ELSE %]
<input type="checkbox" id="is_date" name="is_date" />
[% END %]
<span class="hint">If checked, attribute will be a date. Date attributes cannot be repeatable or linked to an authorised value category.</span>
<span class="hint">If checked, the attribute will be a date. Date attributes can be repeatable, but cannot be linked to an authorised value category.</span>
</li>
<li><label for="opac_display">Display in OPAC: </label>
[% IF attribute_type AND attribute_type.opac_display %]