Browse Source

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 <nick@quecheelibrary.org>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
3.20.x
Jonathan Druart 9 years ago
committed by Tomas Cohen Arazi
parent
commit
6ebdbf0481
  1. 11
      koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt

11
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt

@ -172,8 +172,15 @@ function validate1(date) {
<div id="circmessages" class="circmessage attention">
<ul>
[% IF ( userdebarred ) %]
<li class="blocker">Patron is restricted[% IF ( userdebarreddate ) %] until [% userdebarreddate%] [% IF (debarredcomment ) %]([% debarredcomment %])[% END %][% END %]
<a href="#reldebarments" onclick="$('#debarments-tab-link').click()">View restrictions</a>
<li class="blocker">Patron's account is restricted
[% IF ( userdebarreddate ) %]
until [% userdebarreddate %]
[% END %]
[% IF ( debarredcomment ) %]
with the explanation: <i>[% debarredcomment | html_line_break %]</i>
[% END %]
<a href="#reldebarments" onclick="$('#debarments-tab-link').click()">View restrictions</a>
</li>
[% END %]
[% IF ( gonenoaddress ) %]<li class="blocker">Patron's address is in doubt.</li>[% END %]

Loading…
Cancel
Save