From 97461b7029e1675a5dd08585367c053c81cfa2a8 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Thu, 1 Sep 2022 18:10:50 +0000 Subject: [PATCH] Bug 31439: Use pseudo element for bullet in results.tt To test: 1. Apply patch and regenerate CSS. See: https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client 2. Go to the staff results page and inscept the result_item_details class. 3. It should contain a ::before pseudo element that is the bullet point. 4. This is easier to remove of alter with the following CSS in IntraNetUSerCSS: .result_item_details::before { content: " " !important; } Signed-off-by: Owen Leonard Signed-off-by: Martin Renvoize Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss | 6 +++++- .../intranet-tmpl/prog/en/modules/catalogue/results.tt | 1 - 2 files changed, 5 insertions(+), 2 deletions(-) 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 4eb2e4401b..9a111db1eb 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -4688,7 +4688,11 @@ div .suggestion_note { .result_item_details { display:inline-block; - white-space:nowrap + white-space:nowrap; + + &::before { + content: "\2022"; + } } .item-date-due { diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt index 232099cfb5..152c7b8335 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt @@ -613,7 +613,6 @@ [% items_loo.location | html %] [% END %] - • [% IF ( items_loo.itemcallnumber ) %] [% items_loo.itemcallnumber | html %] [% END %] -- 2.20.1