Bugzilla – Attachment 148283 Details for
Bug 25856
Suspended holds should be styled differently on request.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25856: Add suspend class to tr's of suspended holds
Bug-25856-Add-suspend-class-to-trs-of-suspended-ho.patch (text/plain), 1.60 KB, created by
Lucas Gass (lukeg)
on 2023-03-16 18:09:09 UTC
(
hide
)
Description:
Bug 25856: Add suspend class to tr's of suspended holds
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2023-03-16 18:09:09 UTC
Size:
1.60 KB
patch
obsolete
>From 9af1ff8e25ff978a2a97995048fbd8f72d07ba2d Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Thu, 16 Mar 2023 18:02:53 +0000 >Subject: [PATCH] Bug 25856: Add suspend class to tr's of suspended holds > >To test: >1. Apply patch. >2. Place multiple holds on a record and then go suspend some of them. >3. Those suspended holds should now have a class of 'suspended' >4. Now you can add any kind of CSS you want to make those rows stand out. You can try adding this to IntranetUSerCSS: >.suspend > td { > color: red; >} >--- > koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc >index d5b9a67a4f..cf0e6b626c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc >@@ -51,8 +51,12 @@ > [%- ELSE -%] > [%- this_priority = loop.count() - found_holds -%] > [%- END -%] >- <tr> >- <th><input type="checkbox" class="select_hold" data-id="[% hold.reserve_id | html %]"/></th> >+ [% IF hold.suspend %] >+ <tr class="suspend"> >+ [% ELSE %] >+ <tr> >+ [% END %] >+ <td><input type="checkbox" class="select_hold" data-id="[% hold.reserve_id | html %]"/></td> > <td> > <input type="hidden" name="reserve_id" value="[% hold.reserve_id | html %]" /> > <input type="hidden" name="borrowernumber" value="[% hold.borrowernumber | html %]" /> >-- >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 25856
:
148283
|
148291
|
148327