From 6afe586ca973c6666b8fd77663b25d34a21e6cd5 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Thu, 17 Nov 2022 21:51:59 +0000 Subject: [PATCH] Bug 32200: Add page-section to checkout notes page To test: * Turn on AllowCheckoutNotes system preference * Check out an item * Go to the OPAC and add a checkout note to your checkout * In the staff interface, look at: Circulation > Checkout notes * Verify the page section is missing from the notes table * Apply patch * Verify the table now looks better! Signed-off-by: David Signed-off-by: Tomas Cohen Arazi (cherry picked from commit b9c1af5ef1ae233ec6e848d8700b53551d19bec4) Signed-off-by: Martin Renvoize --- .../prog/en/modules/circ/checkout-notes.tt | 75 ++++++++++--------- 1 file changed, 38 insertions(+), 37 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/checkout-notes.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/checkout-notes.tt index 91bd8e61a0..1e4eb701f0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/checkout-notes.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/checkout-notes.tt @@ -76,45 +76,46 @@ | Show all - - - - - - - - - - - - - - [% FOREACH note IN notes %] +
+
 TitleNoteDateSet byStatusActions
+ - - - - - - - + + + + + + + - [% END %] - -
[% note.item.biblio.title | html %] - [% note.item.biblio.author | html %] ([% note.item.barcode | html %])[% note.note | html %][% note.notedate | $KohaDates %][% INCLUDE 'patron-title.inc' patron => note.patron hide_patron_infos_if_needed=1 %] - [% IF ( note.noteseen == 0 ) %] - Not seen - [% ELSIF ( note.noteseen == 1 ) %] - Seen - [% END %] - - [% IF ( note.noteseen == 1 ) %] - - [% ELSIF ( note.noteseen == 0 ) %] - - [% END %] -  TitleNoteDateSet byStatusActions
- + + + [% FOREACH note IN notes %] + + + [% note.item.biblio.title | html %] - [% note.item.biblio.author | html %] ([% note.item.barcode | html %]) + [% note.note | html %] + [% note.notedate | $KohaDates %] + [% INCLUDE 'patron-title.inc' patron => note.patron hide_patron_infos_if_needed=1 %] + + [% IF ( note.noteseen == 0 ) %] + Not seen + [% ELSIF ( note.noteseen == 1 ) %] + Seen + [% END %] + + + [% IF ( note.noteseen == 1 ) %] + + [% ELSIF ( note.noteseen == 0 ) %] + + [% END %] + + + [% END %] + + + [% ELSE %] -- 2.39.5