From fd640e0c417429d80f1fbb3216d807e03187008d Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 9 Apr 2015 16:22:44 +0200 Subject: [PATCH] [PASSED QA] 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 --- 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