Bug 32492: Add IDs to the rows of the patron messaging table in OPAC and staff interface
authorKatrin Fischer <katrin.fischer.83@web.de>
Fri, 10 Feb 2023 22:28:40 +0000 (23:28 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 6 Mar 2023 17:45:22 +0000 (14:45 -0300)
commit7371ee848ffd12ea92bb5e7c33916b15cb8e54fd
tree18e5bb0f3d88f1887d30fa26fd013bc6e7fc80c2
parentd3312fc1c9ee11b0b13781b9a89625f4e8258dc3
Bug 32492: Add IDs to the rows of the patron messaging table in OPAC and staff interface

Sometimes you want to hide notice from the messaging options
becaue the library is not using it. With this patch, we'll
have unique IDs on the <tr> to do so easily.

To test:
* Look at the messaging preferences
  * in the OPAC messaging tab
  * in the staff interface details tab
  * in the staff interface patron edit form
* Verify there are no classes or IDs on the rows or other elements
* Apply patch
* Verify there are nice IDs now on the table rows (tr elements)
  for each message.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/includes/messaging-preference-form.inc
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt