Bugzilla – Attachment 155074 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.07 KB, created by
Jonathan Druart
on 2023-09-01 09:13:47 UTC
(
hide
)
Description:
Bug 34373: Improve layout of curbside pickups items ready list
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2023-09-01 09:13:47 UTC
Size:
4.07 KB
patch
obsolete
>From c8e2700ce4d2b4171be1e4ddcb35135365f87169 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> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > .../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 b2ea7786b9a..962002e704a 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 >@@ -452,17 +452,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.25.1
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