Bugzilla – Attachment 176647 Details for
Bug 38783
Row highlighting in the circulation history table for a patron doesn't look great
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38783: Added "Checked out" badge for checked out items in the circulation history table.
Bug-38783-Added-Checked-out-badge-for-checked-out-.patch (text/plain), 2.57 KB, created by
Owen Leonard
on 2025-01-16 12:01:09 UTC
(
hide
)
Description:
Bug 38783: Added "Checked out" badge for checked out items in the circulation history table.
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2025-01-16 12:01:09 UTC
Size:
2.57 KB
patch
obsolete
>From 7d9821fa18685d364c0822a5611184efd41cddeb Mon Sep 17 00:00:00 2001 >From: Leo Stoyanov <leo.stoyanov@bywatersolutions.com> >Date: Tue, 14 Jan 2025 22:02:43 +0000 >Subject: [PATCH] Bug 38783: Added "Checked out" badge for checked out items in > the circulation history table. > >To test: >1. Make some checkout to a patron so they have a circulation history, > with some items checked in and some still on loan. >2. Look at the patron's "Circulation history" table. There are four > possible background colors for each row: #ffffff, #f3f4f4, #F9FAE0, > and #FFFFCC. >3. Apply the patch, update the CSS (yarn build), and restart everything > (restart_all). >4. Repeat steps 1-2, if needed. An orange/gold badge will appear under > the "Return date" column of the table for items that have been > checked out, and there will no longer be alternating, pale yellow rows. > >Signed-off-by: Magnus Enger <magnus@libriotech.no> >Works as advertised. I agree that it looks better now than before, and >that it is easier to tell the checked out items from the returned items. >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt >index 771cedafa7..f834bb7e4d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt >@@ -83,7 +83,7 @@ > [% FOREACH checkout IN all_checkouts %] > [% SET item = checkout.item %] > [% SET biblio = item.biblio %] >- [% IF checkout.returndate %]<tr>[% ELSE %]<tr class="onissue">[% END %] >+ <tr> > <td style="display:none;"> > [% IF checkout.onsite_checkout %][% issuetype = 'onsite_checkout' | html %] > [% ELSE %][% issuetype = 'standard_checkout' | html %] >@@ -132,7 +132,7 @@ > [% checkout.returndate | $KohaDates with_hours => 1 %] > [% ELSE %] > <td data-order="checked out"> >- <small>Checked out</small> >+ <span class="checked-out-badge badge badge-pill bg-warning text-dark">Checked out</span> > [% END %] > </td> > </tr> >-- >2.39.5
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 38783
:
176540
|
176541
|
176542
|
176647
|
176648
|
176944
|
176945