From 1afaad3084531a12e6affb9861f842a60d955cba Mon Sep 17 00:00:00 2001
From: David Roberts <david@koha-ptfs.co.uk>
Date: Mon, 4 May 2020 16:00:26 +0000
Subject: [PATCH] Bug 25188: Make circulation notes more prominent on the
 patron details tab

This patch adds a more prominent circulation note to the moremember.pl
details screen.

To test:

1) Add a circulation note to a patron record.
2) Note that it displays prominently on the checkout tab, but only under
the Library Use block on the details tab.
3) Apply the patch.
4) Check that the note is now displayed prominently at the top of the
details (moremember.pl) screen.

https://bugs.koha-community.org/show_bug.cgi?id=25118
---
 koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt
index 8321edef92..90fe42be86 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt
@@ -105,6 +105,17 @@
                             </div>
                         [% END %]
 
+                        [% IF ( patron.borrowernotes ) %]
+                             <div id="circnotes" class="circmessage">
+                                 <h4>Notes: </h4>
+                                     <ul><li>
+                                       <span class="circ-hlt">
+                                             [% patron.borrowernotes | $raw | html_line_break %]
+                                       </span>
+                                    </li></ul>
+                              </div>
+                        [% END %] 
+
                         [% IF ( flagged ) %]
                             <div id="circmessages" class="circmessage attention">
                                 <ul>
-- 
2.11.0