1 <div class="actions-menu noprint">
2 [% IF Koha.Preference( 'RequestOnOpac' ) == 1 %]
3 [% UNLESS ( items.norequests ) %]
4 [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
5 [% IF ( shelf AND op == 'view' ) # Lists view has more granular checking of hold availability %]
6 [% IF ( items.allow_onshelf_holds ) %]
7 <span class="actions"><a class="btn btn-link btn-sm hold" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=[% items.biblionumber | html %]"><i class="fa fa-fw fa-bookmark" aria-hidden="true"></i> Place hold</a></span>
9 [% IF ( items.itemsissued ) %]
10 <span class="actions"><a class="btn btn-link btn-sm hold" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=[% items.biblionumber | html %]"><i class="fa fa-fw fa-bookmark" aria-hidden="true"></i> Place hold</a></span>
14 <span class="actions"><a class="btn btn-link btn-sm hold" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=[% items.biblionumber | html %]"><i class="fa fa-fw fa-bookmark" aria-hidden="true"></i> Place hold</a></span>
16 [% END # / IF opacuserlogin %]
17 [% END # / UNLESS items.norequests %]
18 [% END # / RequestOnOpac %]
20 [% IF ( Koha.Preference( 'opacuserlogin' ) == 1 ) %]
21 [% IF items.artreqpossible %]
22 <span class="actions"><a href="/cgi-bin/koha/opac-request-article.pl?biblionumber=[% items.biblionumber | uri %]" class="btn btn-link btn-sm"><i class="fa fa-file-text" aria-hidden="true"></i> Request article</a></span>
26 [% IF ( TagsInputEnabled ) %]
27 [% IF ( loggedinusername ) %]
28 <span class="actions"><a id="tag_add[% items.biblionumber | html %]" href="#" class="tag_add btn btn-link btn-sm"><i class="fa fa-tag" aria-hidden="true"></i> Add tag</a></span>
29 <div id="tagform[% items.biblionumber | html %]" class="tag_results_input form-inline" style="display:none;">
30 <label for="newtag[% items.biblionumber | html %]">New tag(s), separated by a comma:</label>
31 <input type="text" name="newtag[% items.biblionumber | html %]" id="newtag[% items.biblionumber | html %]" class="form-control form-control-sm newtag" maxlength="100" />
32 <input name="tagbutton" class="btn btn-sm btn-primary tagbutton" title="[% items.biblionumber | html %]" type="submit" value="Add" />
33 <a class="cancel_tag_add" id="cancel[% items.biblionumber | html %]" href="#">(done)</a>
35 <span id="newtag[% items.biblionumber | html %]_status" class="tagstatus" style="display:none;">
39 <span class="actions"><span id="login4tags"><a class="btn btn-link btn-sm loginModal-trigger" href="/cgi-bin/koha/opac-user.pl"><i class="fa fa-tag" aria-hidden="true"></i> Log in to add tags</a></span></span>
40 [% END # IF loggedinusername %]
41 [% END # if TagsInputEnabled %]
43 [% IF ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && loggedinusername && ( Koha.Preference( 'virtualshelves' ) == 1 ) ) %]
44 [% IF ( shelf AND op == 'view' ) %]
45 <span class="actions"><a href="/cgi-bin/koha/opac-addbybiblionumber.pl?biblionumber=[% items.biblionumber | uri %]" onclick="Dopop('opac-addbybiblionumber.pl?biblionumber=[% items.biblionumber | uri %]'); return false;" class="btn btn-link btn-sm"><i class="fa fa-list" aria-hidden="true"></i> Save to another list</a></span>
46 [% IF can_remove_biblios %]
47 <span class="actions"><a class="btn btn-link btn-sm removefromlist" href="/cgi-bin/koha/opac-shelves.pl?op=remove_biblios&shelfnumber=[% shelf.shelfnumber | html %]&biblionumber=[% items.biblionumber | html %]"><i class="fa fa-remove" aria-hidden="true"></i> Remove from this list</a></span>
50 <span class="actions"><a class="addtoshelf btn btn-link btn-sm" href="/cgi-bin/koha/opac-addbybiblionumber.pl?biblionumber=[% items.biblionumber | html %]" onclick="Dopop('opac-addbybiblionumber.pl?biblionumber=[% items.biblionumber | html %]'); return false;"><i class="fa fa-list" aria-hidden="true"></i> Save to lists</a></span>
51 [% END # /IF ( shelf AND op == 'view' ) %]
52 [% END # /IF Koha.Preference( 'opacuserlogin' ) %]
54 [% IF Koha.Preference( 'opacbookbag' ) == 1 %]
55 [% IF ( items.incart ) %]
56 <span class="actions cart-actions"><a data-biblionumber="[% items.biblionumber | html %]" class="btn btn-link btn-sm addtocart cart[% items.biblionumber | html %]" href="#"><i class="fa fa-shopping-cart" aria-hidden="true"></i> In your cart</a> <a data-biblionumber="[% items.biblionumber | html %]" class="btn btn-link btn-sm remove cartRemove cartR[% items.biblionumber | html %]" href="#">(remove)</a></span>
58 <span class="actions cart-actions"><a data-biblionumber="[% items.biblionumber | html %]" class="btn btn-link btn-sm addtocart cart cart[% items.biblionumber | html %]" href="#"><i class="fa fa-shopping-cart" aria-hidden="true"></i> Add to cart</a> <a style="display:none;" data-biblionumber="[% items.biblionumber | html %]" class="btn btn-link btn-sm remove cartRemove cartR[% items.biblionumber | html %]" href="#">(remove)</a></span>
60 [% END # / IF opacbookbag %]