Bugzilla – Attachment 140058 Details for
Bug 31439
Item count bullet (•) should be easier to style/remove
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31439: Use pseudo element for bullet in results.tt
Bug-31439-Use-pseudo-element-for-bullet-in-results.patch (text/plain), 2.40 KB, created by
Lucas Gass (lukeg)
on 2022-09-01 18:14:30 UTC
(
hide
)
Description:
Bug 31439: Use pseudo element for bullet in results.tt
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2022-09-01 18:14:30 UTC
Size:
2.40 KB
patch
obsolete
>From 959019c503407f6be1e09003d7bb2a6ad387f93e Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >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; >} >--- > 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 @@ > <span class="shelvingloc">[% items_loo.location | html %]</span> > [% END %] > >- • > [% IF ( items_loo.itemcallnumber ) %] > <a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&q=%22[% items_loo.itemcallnumber |uri %]%22">[% items_loo.itemcallnumber | html %]</a> > [% END %] >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 31439
:
140058
|
140113
|
140484