[% IF Koha.Preference( 'RequestOnOpac' ) == 1 %] [% UNLESS ( items.norequests ) %] [% IF Koha.Preference( 'opacuserlogin' ) == 1 %] [% IF ( shelf AND op == 'view' ) # Lists view has more granular checking of hold availability %] [% IF ( items.allow_onshelf_holds ) %] Place hold [% ELSE %] [% IF ( items.itemsissued ) %] Place hold [% END %] [% END %] [% ELSE %] Place hold [% END %] [% END # / IF opacuserlogin %] [% END # / UNLESS items.norequests %] [% END # / RequestOnOpac %] [% IF ( Koha.Preference( 'opacuserlogin' ) == 1 ) %] [% IF items.artreqpossible %] Request article [% END %] [% END %] [% IF ( TagsInputEnabled ) %] [% IF ( loggedinusername ) %] Add tag [% ELSE %] Log in to add tags [% END # IF loggedinusername %] [% END # if TagsInputEnabled %] [% IF ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && loggedinusername && ( Koha.Preference( 'virtualshelves' ) == 1 ) ) %] [% IF ( shelf AND op == 'view' ) %] Save to another list [% IF can_remove_biblios %] Remove from this list [% END %] [% ELSE %] Save to lists [% END # /IF ( shelf AND op == 'view' ) %] [% END # /IF Koha.Preference( 'opacuserlogin' ) %] [% IF Koha.Preference( 'opacbookbag' ) == 1 %] [% IF ( items.incart ) %] In your cart (remove) [% ELSE %] Add to cart [% END %] [% END # / IF opacbookbag %]