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)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Thu, 9 Mar 2023 11:49:56 +0000 (11:49 +0000)
commit05163003b22192a29f735de3163edba8c2a6d8a2
tree3d7edc98f46cb2c8006a079e6e4607f27f707c19
parent021b9a5d2fdf7edee6916117266f773808e9073b
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>
(cherry picked from commit 7371ee848ffd12ea92bb5e7c33916b15cb8e54fd)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/includes/messaging-preference-form.inc
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt