From a88197d91e68bd3afc80a458c4180f24710fcb2b 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 --- koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc | 7 +++++++ koha-tmpl/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 17f8f36f11..c7e7a3585a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc @@ -104,6 +104,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.11.0