From 061795fde6b8034b1a46aa9864c07df6f4de22ac 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 e3c0f5c582..858bc5aecd 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -2308,6 +2308,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 c061904999..dbb9d0b5fa 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -1373,7 +1373,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