|
Lines 91-100
Link Here
|
| 91 |
[% END %] |
91 |
[% END %] |
| 92 |
|
92 |
|
| 93 |
|
93 |
|
| 94 |
[% SET restricted_lib = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.withdrawn', authorised_value => item.withdrawn, opac => 1 ) %] |
94 |
[% SET restricted_lib = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.restricted', authorised_value => item.restricted, opac => 1 ) %] |
| 95 |
[% IF item.notforloan %] |
95 |
[% IF item.notforloan %] |
| 96 |
[% SET itemavailable = 0 %] |
96 |
[% SET itemavailable = 0 %] |
| 97 |
[% notforloan_lib = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.withdrawn', authorised_value => item.withdrawn, opac => 1 ) %] |
97 |
[% notforloan_lib = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => item.notforloan, opac => 1 ) %] |
| 98 |
[% IF notforloan_lib %] |
98 |
[% IF notforloan_lib %] |
| 99 |
<span class="item-status notforloan">[% notforloan_lib | html %] [% IF restricted_lib %]<span class="restricted">([% restricted_lib | html %])</span>[% END %]</span> |
99 |
<span class="item-status notforloan">[% notforloan_lib | html %] [% IF restricted_lib %]<span class="restricted">([% restricted_lib | html %])</span>[% END %]</span> |
| 100 |
[% ELSE %] |
100 |
[% ELSE %] |
|
Lines 103-108
Link Here
|
| 103 |
[% ELSIF item.itemtype.notforloan %] |
103 |
[% ELSIF item.itemtype.notforloan %] |
| 104 |
[% SET itemavailable = 0 %] |
104 |
[% SET itemavailable = 0 %] |
| 105 |
<span class="item-status notforloan">Not for loan [% IF restricted_lib %]<span class="restricted">([% restricted_lib | html %])</span>[% END %]</span> |
105 |
<span class="item-status notforloan">Not for loan [% IF restricted_lib %]<span class="restricted">([% restricted_lib | html %])</span>[% END %]</span> |
|
|
106 |
[% ELSE %] |
| 107 |
[% IF restricted_lib %] |
| 108 |
<span class="item-status restricted">[% restricted_lib | html %]</span> |
| 109 |
[% END %] |
| 106 |
[% END %] |
110 |
[% END %] |
| 107 |
|
111 |
|
| 108 |
[% IF ( item.bundle_host ) %] |
112 |
[% IF ( item.bundle_host ) %] |
| 109 |
- |
|
|