Bug 31391: Add "Place recall" button in detail page toolbar
Adds a new entry "Place recall" to the detail page's toolbar, visible when: - UseRecalls is set to allow recalls in staff - User has recalls permission This matches the behavior for holds and bookings, so seems to increase consistency. Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
This commit is contained in:
parent
98c8add185
commit
65b8a6129d
|
|
@ -290,6 +290,10 @@
|
|||
[% END %]
|
||||
[% END %]
|
||||
|
||||
[%- IF ( Koha.Preference('UseRecalls').match('staff') && CAN_user_recalls ) -%]
|
||||
<a id="placerecall" class="btn btn-default" href="/cgi-bin/koha/recalls/request.pl?biblionumber=[% biblionumber | html %]" role="button"> <i class="fa-solid fa-book-bookmark"></i> Place recall</a>
|
||||
[%- END -%]
|
||||
|
||||
<div class="btn-group">
|
||||
<a id="audit_record" class="btn btn-default" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber | html %]&audit=1" role="button"> <i class="fa-solid fa-stethoscope"></i> Audit</a>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue