From 9670ae05f9c5141029b684c130fe45f5ae375fd5 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 9 Apr 2015 16:22:44 +0200 Subject: [PATCH] [SIGNED OFF] 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 --- koha-tmpl/intranet-tmpl/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 d01573b..3aa3bfb 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt @@ -168,8 +168,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 %] -- 1.9.1