Lines 81-94
Link Here
|
81 |
until [% userdebarreddate | $KohaDates %] |
81 |
until [% userdebarreddate | $KohaDates %] |
82 |
[% END %] |
82 |
[% END %] |
83 |
|
83 |
|
84 |
[% IF ( debarredcomment ) %] |
|
|
85 |
with the explanation: <br /> |
86 |
<em> |
84 |
<em> |
87 |
[% IF debarredcomment.search('OVERDUES_PROCESS') %] |
|
|
88 |
Restriction added by overdues process [% debarredcomment.remove('OVERDUES_PROCESS ') | $raw | html_line_break %] |
89 |
[% ELSE %] |
90 |
[% FOREACH restriction IN patron.restrictions %] |
85 |
[% FOREACH restriction IN patron.restrictions %] |
91 |
<div class="[% restriction.type.code | lower | html %]_restriction"> |
86 |
<div class="[% restriction.type.code | lower | html %]_restriction"> |
|
|
87 |
[%- restriction.type.display_text | html -%]: |
92 |
<span class="restriction_expiration"> |
88 |
<span class="restriction_expiration"> |
93 |
[% IF restriction.expiration %] |
89 |
[% IF restriction.expiration %] |
94 |
[% restriction.expiration | $KohaDates %] |
90 |
[% restriction.expiration | $KohaDates %] |
Lines 96-107
Link Here
|
96 |
<strong>Indefinite</strong> |
92 |
<strong>Indefinite</strong> |
97 |
[% END %] |
93 |
[% END %] |
98 |
</span> |
94 |
</span> |
99 |
<span class="restriction_detail"> [%- restriction.type.display_text | html -%][%- IF restriction.comment -%]: [%- restriction.comment | html_line_break -%][%- END -%] </span> |
95 |
[% IF restriction.comment.search('OVERDUES_PROCESS') %] |
|
|
96 |
Restriction added by overdues process [% restriction.comment.remove('OVERDUES_PROCESS ') | $raw | html_line_break %] |
97 |
[% ELSE %] |
98 |
[% IF restriction.comment %] |
99 |
with the explanation: <br /> |
100 |
<span class="restriction_detail"> [%- IF restriction.comment -%][%- restriction.comment | html_line_break -%][%- END -%] </span> |
101 |
[% ELSE %] |
102 |
<span class="restriction_detail"></span> |
103 |
[% END %] |
104 |
[% END %] |
100 |
</div> |
105 |
</div> |
101 |
[% END %] |
106 |
[% END %] |
102 |
[% END %] </em |
107 |
</em><br /> |
103 |
><br /> |
108 |
|
104 |
[% END %] |
|
|
105 |
<a class="btn btn-xs btn-default" href="#reldebarments-tab" onclick="$('#reldebarments-tab').click()"><i class="fa fa-ban"></i> View restrictions</a> |
109 |
<a class="btn btn-xs btn-default" href="#reldebarments-tab" onclick="$('#reldebarments-tab').click()"><i class="fa fa-ban"></i> View restrictions</a> |
106 |
</li> |
110 |
</li> |
107 |
<!-- /.blocker --> |
111 |
<!-- /.blocker --> |