Lines 97-110
Link Here
|
97 |
until [% userdebarreddate | $KohaDates %] |
97 |
until [% userdebarreddate | $KohaDates %] |
98 |
[% END %] |
98 |
[% END %] |
99 |
|
99 |
|
100 |
[% IF ( debarredcomment ) %] |
|
|
101 |
with the explanation: <br /> |
102 |
<em> |
100 |
<em> |
103 |
[% IF debarredcomment.search('OVERDUES_PROCESS') %] |
|
|
104 |
Restriction added by overdues process [% debarredcomment.remove('OVERDUES_PROCESS ') | $raw | html_line_break %] |
105 |
[% ELSE %] |
106 |
[% FOREACH restriction IN patron.restrictions %] |
101 |
[% FOREACH restriction IN patron.restrictions %] |
107 |
<div class="[% restriction.type.code | lower | html %]_restriction"> |
102 |
<div class="[% restriction.type.code | lower | html %]_restriction"> |
|
|
103 |
[%- restriction.type.display_text | html -%]: |
108 |
<span class="restriction_expiration"> |
104 |
<span class="restriction_expiration"> |
109 |
[% IF restriction.expiration %] |
105 |
[% IF restriction.expiration %] |
110 |
[% restriction.expiration | $KohaDates %] |
106 |
[% restriction.expiration | $KohaDates %] |
Lines 112-123
Link Here
|
112 |
<strong>Indefinite</strong> |
108 |
<strong>Indefinite</strong> |
113 |
[% END %] |
109 |
[% END %] |
114 |
</span> |
110 |
</span> |
115 |
<span class="restriction_detail"> [%- restriction.type.display_text | html -%][%- IF restriction.comment -%]: [%- restriction.comment | html_line_break -%][%- END -%] </span> |
111 |
[% IF restriction.comment.search('OVERDUES_PROCESS') %] |
|
|
112 |
Restriction added by overdues process [% restriction.comment.remove('OVERDUES_PROCESS ') | $raw | html_line_break %] |
113 |
[% ELSE %] |
114 |
[% IF restriction.comment %] |
115 |
with the explanation: <br /> |
116 |
<span class="restriction_detail"> [%- IF restriction.comment -%][%- restriction.comment | html_line_break -%][%- END -%] </span> |
117 |
[% ELSE %] |
118 |
<span class="restriction_detail"></span> |
119 |
[% END %] |
120 |
[% END %] |
116 |
</div> |
121 |
</div> |
117 |
[% END %] |
122 |
[% END %] |
118 |
[% END %] </em |
123 |
</em><br /> |
119 |
><br /> |
|
|
120 |
[% END %] |
121 |
<a class="btn btn-xs btn-default" href="#reldebarments-tab" onclick="(new bootstrap.Tab($('#reldebarments-tab'))).show()"><i class="fa fa-ban"></i> View restrictions</a> |
124 |
<a class="btn btn-xs btn-default" href="#reldebarments-tab" onclick="(new bootstrap.Tab($('#reldebarments-tab'))).show()"><i class="fa fa-ban"></i> View restrictions</a> |
122 |
</li> |
125 |
</li> |
123 |
<!-- /.blocker --> |
126 |
<!-- /.blocker --> |