From 2cb19eacba4207b68b6a1f70f672fe2ca8086a04 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 16 Dec 2020 11:32:20 +0100 Subject: [PATCH] Bug 27247: Re-add highlighting to the quote editor Caused by commmit 247dca306407ac9568344a0a37aca3bbcffc2468 Bug 23013: Upgrade DataTables in the staff client which removed -tr.even.selected td { - background-color: #D3D3D3; -} There was no more highlighting when trying to delete an imported quote, as there was before (see screenshot from the manual https://gitlab.com/koha-community/koha-manual/-/blob/master/source/images/tools/qotd/selectfordelete.png) It was, however, possible to delete imported quotes, you just don't see which ones you are deleting. Test plan: 1) Create a CSV with two columns first the name, then the quote (I've attached a CSV that I've done for testing purposes) 2) Go to Tools > Edit quotes for the QOTD feature 3) Click 'Import quotes' 4) Click 'Browse' and choose the CSV created earlier 5) Click on the id of a couple of quotes. Notice those lintes are highlighted Signed-off-by: Lucas Gass Signed-off-by: Nick Clemens Signed-off-by: Jonathan Druart (cherry picked from commit eddf09da53b0ad21e2b2649266ca201623372d0c) Signed-off-by: Fridolin Somers --- koha-tmpl/intranet-tmpl/prog/css/quotes.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/css/quotes.css b/koha-tmpl/intranet-tmpl/prog/css/quotes.css index 3344b65340..50914f6489 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/quotes.css +++ b/koha-tmpl/intranet-tmpl/prog/css/quotes.css @@ -36,3 +36,8 @@ #quotes_editor { width : 100%; } + +tr.odd.selected td, +tr.even.selected td { + background-color: #D3D3D3; +} -- 2.39.5