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)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Thu, 30 Mar 2023 07:47:08 +0000 (09:47 +0200)
commit2e64c48f3d85b09e7f952a3fb9975c80b0b7f61f
tree9fe6dcfead7aa25a9e8d7df6eba057f0e0859f17
parent304c713f3e5663b83506be5e86fa1258e7cabbbc
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>
(cherry picked from commit 05163003b22192a29f735de3163edba8c2a6d8a2)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 0b63fb2a93ea9e0757f5846f8758a5777975d8fa)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/includes/messaging-preference-form.inc
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt