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>
<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 %]