Koha/koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status-schema-org.inc
Galen Charlton e334aed702 Bug 10626: (follow-up) replace use of KohaAuthorisedValues in the Bootstrap theme
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-12-20 04:22:20 +00:00

9 lines
509 B
HTML

[% IF ( item.damaged or item.datedue or item.itemlost or item.transfertwhen or item.waiting ) %]
<link property="availability" href="http://schema.org/OutOfStock" />
[% ELSIF ( item.withdrawn ) %]
<link property="availability" href="http://schema.org/Discontinued" />
[% ELSIF ( item.itemnotforloan or item.notforloan_per_itemtype ) %]
<link property="availability" href="http://schema.org/InStoreOnly" />
[% ELSE %]
<link property="availability" href="http://schema.org/InStock" />
[% END %]