Lines 90-108
Link Here
|
90 |
[% END %] |
90 |
[% END %] |
91 |
[% END %] |
91 |
[% END %] |
92 |
|
92 |
|
|
|
93 |
[% BLOCK restricted_info %] |
94 |
[% IF item.restricted %] |
95 |
[% SET restricted_lib = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.restricted', authorised_value => item.restricted, opac => 1 ) %] |
96 |
[% IF restricted_lib %] |
97 |
<span class="restricted">([% restricted_lib | html %])</span> |
98 |
[% END %] |
99 |
[% END %] |
100 |
[% END %] |
93 |
|
101 |
|
94 |
[% SET restricted_lib = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.restricted', authorised_value => item.restricted, opac => 1 ) %] |
|
|
95 |
[% IF item.notforloan %] |
102 |
[% IF item.notforloan %] |
96 |
[% SET itemavailable = 0 %] |
103 |
[% SET itemavailable = 0 %] |
97 |
[% notforloan_lib = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => item.notforloan, opac => 1 ) %] |
104 |
[% notforloan_lib = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => item.notforloan, opac => 1 ) %] |
98 |
[% IF notforloan_lib %] |
105 |
[% IF notforloan_lib %] |
99 |
<span class="item-status notforloan">[% notforloan_lib | html %] [% IF restricted_lib %]<span class="restricted">([% restricted_lib | html %])</span>[% END %]</span> |
106 |
<span class="item-status notforloan"><span>[% notforloan_lib | html %]</span> [% PROCESS restricted_info %]</span> |
100 |
[% ELSE %] |
107 |
[% ELSE %] |
101 |
<span class="item-status notforloan">Not for loan [% IF restricted_lib %]<span class="restricted">([% restricted_lib | html %])</span>[% END %]</span> |
108 |
<span class="item-status notforloan"><span>Not for loan</span> [% PROCESS restricted_info %]</span> |
102 |
[% END %] |
109 |
[% END %] |
103 |
[% ELSIF item.itemtype.notforloan %] |
110 |
[% ELSIF item.itemtype.notforloan %] |
104 |
[% SET itemavailable = 0 %] |
111 |
[% SET itemavailable = 0 %] |
105 |
<span class="item-status notforloan">Not for loan [% IF restricted_lib %]<span class="restricted">([% restricted_lib | html %])</span>[% END %]</span> |
112 |
<span class="item-status notforloan"><span>Not for loan</span> [% PROCESS restricted_info %]</span> |
106 |
[% END %] |
113 |
[% END %] |
107 |
|
114 |
|
108 |
[% IF ( item.bundle_host ) %] |
115 |
[% IF ( item.bundle_host ) %] |
Lines 135-139
Link Here
|
135 |
[% END %] |
142 |
[% END %] |
136 |
|
143 |
|
137 |
[% IF ( itemavailable ) %] |
144 |
[% IF ( itemavailable ) %] |
138 |
<span class="item-status available">Available [% IF restricted_lib %]<span class="restricted">([% restricted_lib | html %])</span>[% END %]</span> |
145 |
<span class="item-status available"><span>Available</span> [% PROCESS restricted_info %]</span> |
139 |
[% END %] |
146 |
[% END %] |
140 |
- |
|
|