From 0a387bbd021bf3520e30bbc32fe774e78885c708 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Thu, 16 Mar 2023 18:02:53 +0000 Subject: [PATCH] Bug 25856: Add suspend class to tr's of suspended holds To test: 1. Apply patch. 2. Place multiple holds on a record and then go suspend some of them. 3. Those suspended holds should now have a class of 'suspended' 4. Now you can add any kind of CSS you want to make those rows stand out. You can try adding this to IntranetUSerCSS: .suspend > td { color: red; } Signed-off-by: Barbara Johnson Signed-off-by: Nick Clemens Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc index d5b9a67a4f..cf0e6b626c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc @@ -51,8 +51,12 @@ [%- ELSE -%] [%- this_priority = loop.count() - found_holds -%] [%- END -%] - - + [% IF hold.suspend %] + + [% ELSE %] + + [% END %] + -- 2.39.5