From 6ebdbf04819aaeca82d2a5d5dfbcf120e08ee153 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 9 Apr 2015 16:22:44 +0200 Subject: [PATCH] Bug 9878: Add consistentcy on restriction messages Between both pages circ/circulation.pl and members/moremember.pl, the restriction messages should be the same. Test plan: 1/ Add a non-unlimited restrictions to a patron 2/ Go on both pages and confirm the restriction message is the same. Signed-off-by: Nick Clemens Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- .../prog/en/modules/members/moremember.tt | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) 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 9536a22dd0..d25cdead60 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt @@ -172,8 +172,15 @@ function validate1(date) {
    [% IF ( userdebarred ) %] -
  • Patron is restricted[% IF ( userdebarreddate ) %] until [% userdebarreddate%] [% IF (debarredcomment ) %]([% debarredcomment %])[% END %][% END %] - View restrictions +
  • Patron's account is restricted + [% IF ( userdebarreddate ) %] + until [% userdebarreddate %] + [% END %] + + [% IF ( debarredcomment ) %] + with the explanation: [% debarredcomment | html_line_break %] + [% END %] + View restrictions
  • [% END %] [% IF ( gonenoaddress ) %]
  • Patron's address is in doubt.
  • [% END %] -- 2.39.5