Bug 27123: (follow-up) Add note to warn about removing all messages

This patch adds a note to the batch patron modification form in order to
warn the user about removing multiple messages at once.

To test:

- Apply the patch and go to Tools -> Batch patron modification
- Enter or select multiple patrons and submit them for modification
- On the page previewing the list patrons for modification, scroll down
  to the form.
- Find the field for "Message" and confirm that there is a note next to
  the checkbox.

Signed-off-by: George Williams <george@nekls.org>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Owen Leonard 2024-09-26 19:36:25 +00:00 committed by Katrin Fischer
parent 51f672497d
commit 10628a0645
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 3 additions and 0 deletions

View File

@ -410,6 +410,9 @@
<span class="required">Required fields cannot be cleared</span>
[% ELSE %]
<input type="checkbox" title="Check to delete this field" name="disable_input" value="[% field.name | html %]" />
[% IF ( field.type == 'message_type' ) %]
<span class="hint">NOTE: Checking this box will remove ALL messages</span>
[% END %]
[% END %]
</li>
[% END %]