From 19753f9cea15a2bd31e8109f6575024335aa506f 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 --- 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 7544c83ab4..8bbad5194f 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -2350,6 +2350,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 40de684bc1..27dc544810 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -1390,7 +1390,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.20.1