From d67e2e0511a79e68d88bd364ba0740aabf556d14 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 30 Sep 2021 08:44:22 +0100 Subject: [PATCH] Bug 28854: Highlight bundle rows to clarify UI Signed-off-by: Katrin Fischer Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss | 4 ++++ koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss index cac83f13d1..7578cdbf6a 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -2359,6 +2359,10 @@ td { display: block; } +td.bundle { + background-color: #FFC !important; +} + .datedue { color: #999; display: block; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt index 9e280654bc..1cebad0cc3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -1590,7 +1590,7 @@ Note that permanent location is a code, and location may be an authval. var bundles_table = $(''); // Display it the child row - row.child( bundle_toolbar.add(bundles_table) ).show(); + row.child( bundle_toolbar.add(bundles_table), 'bundle' ).show(); // Initialise as a DataTable var bundle_table_url = "/api/v1/items/" + itemnumber + "/bundled_items?"; -- 2.39.5