From 684d3650d9864bf5586af0d70b36107bd0dd1ebc 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 --- 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 cac83f13d1a..7578cdbf6ae 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 9e280654bc6..1cebad0cc3d 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.30.2