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>
(cherry picked from commit 6ebdbf0481)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
This commit is contained in:
parent
a0d761b56e
commit
da8aeb7ae1
|
|
@ -168,8 +168,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…
Reference in New Issue