From 79c167e4f209ebe3661bb2aadf3f38051eb835f6 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! --- .../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.30.2