Bugzilla – Attachment 153893 Details for
Bug 34373
Improve layout of curbside pickups items ready list
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34373: Improve layout of curbside pickups items ready list
Bug-34373-Improve-layout-of-curbside-pickups-items.patch (text/plain), 4.00 KB, created by
Lucas Gass (lukeg)
on 2023-07-25 22:57:53 UTC
(
hide
)
Description:
Bug 34373: Improve layout of curbside pickups items ready list
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2023-07-25 22:57:53 UTC
Size:
4.00 KB
patch
obsolete
>From c6af89024e049a5cf417ec9db5919820904e52d1 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 25 Jul 2023 14:29:42 +0000 >Subject: [PATCH] Bug 34373: Improve layout of curbside pickups items ready > list > >This patch adds fieldset + list markup around the list of titles ready >for pickup on the staff interface curbside pickup page. > >- Properly testing requires testing data. You can run this command to > REPLACE your curbside pickup data with sample data: > > bash <(curl -s https://gitlab.com/-/snippets/2572579/raw/main/test_curbside_pickups.sh) >- Apply the patch and restart services. >- Place multiple holds for a single patron and check them in to mark > them waiting. >- Under Circulation -> Curbside pickups, click the "Schedule pickup" > tab. > - Search for the patron you placed the holds for. > - When the patron information comes up, the list of items ready for > pickup should be well-formatted. > >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> >--- > .../prog/en/modules/circ/curbside_pickups.tt | 22 ++++++++++--------- > 1 file changed, 12 insertions(+), 10 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/curbside_pickups.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/curbside_pickups.tt >index e1eec439a8..df0cc315c3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/curbside_pickups.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/curbside_pickups.tt >@@ -447,17 +447,19 @@ > > <li> > <label>Items ready for pickup: </label> >- <span> >- [% IF waiting_holds.count %] >- [% FOREACH h IN waiting_holds %] >- <p> >- <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% h.biblionumber | uri %]">[% h.biblio.title | html %]</a> ([% h.biblio.author | html %], <a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% h.itemnumber | html %]&biblionumber=[% h.biblionumber | html %]#item[% h.itemnumber | html %]">[% h.item.barcode | html %]</a>) >- </p> >+ <fieldset> >+ <ul> >+ [% IF waiting_holds.count %] >+ [% FOREACH h IN waiting_holds %] >+ <li> >+ <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% h.biblionumber | uri %]">[% h.biblio.title | html %]</a> ([% h.biblio.author | html %], <a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% h.itemnumber | html %]&biblionumber=[% h.biblionumber | html %]#item[% h.itemnumber | html %]">[% h.item.barcode | html %]</a>) >+ </li> >+ [% END %] >+ [% ELSE %] >+ <li>There are no waiting holds for this patron at this library.</li> > [% END %] >- [% ELSE %] >- <span>There are no waiting holds for this patron at this library.</span> >- [% END %] >- </span> >+ </ul> >+ </fieldset> > </li> > > <li> >-- >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 34373
:
153883
|
153884
|
153893
|
155074