diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc index 0d5713d5aa..aac8ece2ee 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc @@ -91,10 +91,10 @@ [% END %] -[% SET restricted_lib = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.withdrawn', authorised_value => item.withdrawn, opac => 1 ) %] +[% SET restricted_lib = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.restricted', authorised_value => item.restricted, opac => 1 ) %] [% IF item.notforloan %] [% SET itemavailable = 0 %] - [% notforloan_lib = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.withdrawn', authorised_value => item.withdrawn, opac => 1 ) %] + [% notforloan_lib = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => item.notforloan, opac => 1 ) %] [% IF notforloan_lib %] [% notforloan_lib | html %] [% IF restricted_lib %]([% restricted_lib | html %])[% END %] [% ELSE %] @@ -103,6 +103,10 @@ [% ELSIF item.itemtype.notforloan %] [% SET itemavailable = 0 %] Not for loan [% IF restricted_lib %]([% restricted_lib | html %])[% END %] +[% ELSE %] + [% IF restricted_lib %] + [% restricted_lib | html %] + [% END %] [% END %] [% IF ( item.bundle_host ) %]