From 737d20294d3030ca6d7e67d9b898a7a76ed563ec 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 --- 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 a12be5e07f..cdf8362cea 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc @@ -91,6 +91,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 %] +
  • Account has been administratively locked.
  • + [% ELSE %] +
  • Account has been locked.
  • + [% END %] + [% END %] [% END %] -- 2.11.0