From d2994a9fa55a762d241e42099d5c0234c2033fba Mon Sep 17 00:00:00 2001 From: Owen Leonard 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. --- .../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 e1eec439a8c..df0cc315c38 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 @@
  • - - [% IF waiting_holds.count %] - [% FOREACH h IN waiting_holds %] -

    - [% h.biblio.title | html %] ([% h.biblio.author | html %], [% h.item.barcode | html %]) -

    +
    +
      + [% IF waiting_holds.count %] + [% FOREACH h IN waiting_holds %] +
    • + [% h.biblio.title | html %] ([% h.biblio.author | html %], [% h.item.barcode | html %]) +
    • + [% END %] + [% ELSE %] +
    • There are no waiting holds for this patron at this library.
    • [% END %] - [% ELSE %] - There are no waiting holds for this patron at this library. - [% END %] - +
    +
  • -- 2.30.2