From 5e7c3a72093dddd5d7286c821e64d6eddffe7c0f Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Mon, 17 Oct 2022 17:24:10 +0000 Subject: [PATCH] Bug 31835: Add page-section to holds queue To test: 1. Apply patch 2. Make some holds and then run build_holds_queue.pl 3. Look at the holds queue and make sure everything looks right with the new page-section. Note: I made some indentation and whitespace changes. Signed-off-by: Katrin Fischer --- .../prog/en/modules/circ/view_holdsqueue.tt | 273 +++++++++--------- 1 file changed, 138 insertions(+), 135 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt index 4e38f4df3f..4e54485f08 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt @@ -76,146 +76,149 @@
No items found.
[% END %] [% IF ( itemsloop ) %] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [% FOREACH itemsloo IN itemsloop %] - - +
TitleCurrent libraryCollectionItem typeCall numberCopy numberEnumerationBarcodePatronPatron categorySend toDateNotes
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

- [% INCLUDE 'biblio-title.inc' biblio=itemsloo link = 1 %] -

-

-

[% itemsloo.biblionumber | html %]
-
[% itemsloo.author | html %]
- [% IF ( itemsloo.editionstatement ) %]
[% itemsloo.editionstatement | html %]
[% END %] -
- [% IF ( itemsloo.publishercode ) %][% itemsloo.publishercode | html %][% END %] +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [% FOREACH itemsloo IN itemsloop %] + + - - - - - - - + + + + + + + + + + + + + [% END %] - - - - - - - - [% END %] -
TitleCurrent libraryCollectionItem typeCall numberCopy numberEnumerationBarcodePatronPatron categorySend toDateNotes
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ [% INCLUDE 'biblio-title.inc' biblio=itemsloo link = 1 %] +

+

+

[% itemsloo.biblionumber | html %]
+
[% itemsloo.author | html %]
+ [% IF ( itemsloo.editionstatement ) %]
[% itemsloo.editionstatement | html %]
[% END %] +
+ [% IF ( itemsloo.publishercode ) %][% itemsloo.publishercode | html %][% END %] - [% IF ( itemsloo.publicationyear ) %] - , [% itemsloo.publicationyear | html %] - [% ELSIF ( itemsloo.copyrightdate ) %] - , [% itemsloo.copyrightdate | html %] - [% END %] + [% IF ( itemsloo.publicationyear ) %] + , [% itemsloo.publicationyear | html %] + [% ELSIF ( itemsloo.copyrightdate ) %] + , [% itemsloo.copyrightdate | html %] + [% END %] - [% IF ( itemsloo.pages ) %]: [% itemsloo.pages | html %] [% END %] + [% IF ( itemsloo.pages ) %]: [% itemsloo.pages | html %] [% END %] - [% IF ( itemsloo.item('size') ) %][% itemsloo.item('size') | html %][% END %] + [% IF ( itemsloo.item('size') ) %][% itemsloo.item('size') | html %][% END %] - [% IF ( itemsloo.isbn ) %]ISBN: [% itemsloo.isbn | html %][% END %] -
-

-
[% Branches.GetName( itemsloo.holdingbranch ) | html %][% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => itemsloo.ccode ) | html %][% ItemTypes.GetDescription( itemsloo.itype ) | html %][% IF ( itemsloo.location ) %][% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => itemsloo.location ) | html %] [% END %][% itemsloo.itemcallnumber | html %][% itemsloo.copynumber | html %][% itemsloo.enumchron | html %] - [% IF ( itemsloo.item_level_request ) %] - Only item: [% itemsloo.barcode | html %] - [% ELSE %] - [% itemsloo.barcode | html %] or any available + [% IF ( itemsloo.isbn ) %]ISBN: [% itemsloo.isbn | html %][% END %] + +

+
[% Branches.GetName( itemsloo.holdingbranch ) | html %][% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => itemsloo.ccode ) | html %][% ItemTypes.GetDescription( itemsloo.itype ) | html %][% IF ( itemsloo.location ) %][% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => itemsloo.location ) | html %] [% END %][% itemsloo.itemcallnumber | html %][% itemsloo.copynumber | html %][% itemsloo.enumchron | html %] + [% IF ( itemsloo.item_level_request ) %] + Only item: [% itemsloo.barcode | html %] + [% ELSE %] + [% itemsloo.barcode | html %] or any available + [% END %] + +

+ [% INCLUDE 'patron-title.inc' invert_name=1 patron=itemsloo.patron hide_patron_infos_if_needed=1 link_to="circulation_reserves" %] +

+ [% UNLESS Koha.Preference('HidePatronName') %] +

[% itemsloo.patron.phone | html %]

+ [% END %] +
[% itemsloo.patron.category.description | html %] ([% itemsloo.patron.categorycode | html %])[% Branches.GetName( itemsloo.pickbranch ) | html %][% itemsloo.reservedate | $KohaDates %][% itemsloo.notes | html %]
-

- [% INCLUDE 'patron-title.inc' invert_name=1 patron=itemsloo.patron hide_patron_infos_if_needed=1 link_to="circulation_reserves" %] -

- [% UNLESS Koha.Preference('HidePatronName') %] -

[% itemsloo.patron.phone | html %]

- [% END %] -
[% itemsloo.patron.category.description | html %] ([% itemsloo.patron.categorycode | html %])[% Branches.GetName( itemsloo.pickbranch ) | html %][% itemsloo.reservedate | $KohaDates %][% itemsloo.notes | html %]
+
+ [% END %] [% END %] -- 2.30.2