Bug 42474: Patron categories form label - fix spelling for "Upperage limit"

Fix the spelling for a patron categories form label. "Upperage limit"
should be "Upper age limit" (there should be a space between upper and
age). Also fixes the table row label when attempting to delete a
patron category.

Test plan:
1. Go to Administration > Patrons and circulation > Patron categories.
2. Add a new patron category (or edit an existing category).
3. Notice that the label "Upperage limit" has no space between
   upper and age.
4. Attempt to delete a patron category, for example, Staff.
5. Note the itable row label is "Upperage limit".
6. Apply the patch.
7. Reload the pages for steps 2 and 4.
8. Note that the labels are now splet correctly as "Upper age limit".

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Gretchen Maxeiner <maxeinergl@gcc.edu>
Signed-off-by: Baptiste Wojtkowski <baptiste.wojtkowski@biblibre.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
David Nind 2026-04-26 07:21:49 +00:00 committed by Lucas Gass
parent dc40379b7d
commit 1dd005c04d
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
1 changed files with 2 additions and 2 deletions

View File

@ -173,7 +173,7 @@
<input type="text" name="dateofbirthrequired" id="dateofbirthrequired" value="[% category.dateofbirthrequired | html %]" size="3" maxlength="3" /> years
</li>
<li>
<label for="upperagelimit">Upperage limit: </label>
<label for="upperagelimit">Upper age limit: </label>
<input type="text" name="upperagelimit" id="upperagelimit" size="3" maxlength="3" value="[% category.upperagelimit | html %]" /> years
</li>
<li>
@ -563,7 +563,7 @@
</tr>
<tr><th scope="row">Password expiration: </th><td>[% category.password_expiry_days | html %] days</td></tr>
<tr><th scope="row">Age required: </th><td>[% category.dateofbirthrequired | html %] years</td></tr>
<tr><th scope="row">Upperage limit: </th><td>[% category.upperagelimit | html %] years</td></tr>
<tr><th scope="row">Upper age limit: </th><td>[% category.upperagelimit | html %] years</td></tr>
<tr><th scope="row">Enrollment fee: </th><td>[% category.enrolmentfee | $Price %]</td></tr>
<tr><th scope="row">Receives overdue notices: </th><td>[% IF category. overduenoticerequired %]Yes[% ELSE %]No[% END %]</td></tr>
<tr><th scope="row">Lost items in staff interface:</th><td>[% IF category.hidelostitems %]Hidden by default[% ELSE %]Shown[% END %]</td></tr>