From 291df4e09206399f4de26ef0214db2b8784c9e20 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Tue, 6 Oct 2020 16:00:30 +0000 Subject: [PATCH] Bug 23979: Move locked message to patron info section To test: 1 - Set failed login attempts to some number 2 - Attempt enough logins with a patront o lock them, or: UPDATE borrowers SET login_attempts = 500 WHERE borrowernumber=5; 3 - Attempt to checkout to borrower, no notice of lock 4 - View patron details tab, see the locked message 5 - Apply patch 6 - Note the message is now in patron info and visible on all tabs for the member Signed-off-by: George Williams Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc | 7 +++++++ .../intranet-tmpl/prog/en/modules/members/moremember.tt | 7 ------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc index a35b058607..e8a3fcc152 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc @@ -113,6 +113,13 @@
  • Home library: [% Branches.GetName( patron.branchcode ) | html %]
  • Borrowernumber: [% patron.borrowernumber | html %]
  • Updated on [% patron.updated_on | $KohaDates with_hours => 1 %]
  • + [% IF patron.account_locked %] + [% IF patron.login_attempts < 0 %] + + [% ELSE %] + + [% END %] + [% END %] [% END %] -- 2.39.5