View | Details | Raw Unified | Return to bug 31391
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-detail-sidebar.inc (-1 / +1 lines)
Lines 11-17 Link Here
11
        [% END %]
11
        [% END %]
12
    [% END %]
12
    [% END %]
13
13
14
    [% IF Koha.Preference('UseRecalls') %]
14
    [% IF Koha.Preference('UseRecalls') AND Koha.Preference('RecallsInterface') != 'staff' %]
15
        <li><a class="recall btn btn-link btn-lg" href="/cgi-bin/koha/opac-recall.pl?biblionumber=[% biblio.biblionumber | html %]"><i class="fa-solid fa-fw fa-book-bookmark" aria-hidden="true"></i>
15
        <li><a class="recall btn btn-link btn-lg" href="/cgi-bin/koha/opac-recall.pl?biblionumber=[% biblio.biblionumber | html %]"><i class="fa-solid fa-fw fa-book-bookmark" aria-hidden="true"></i>
16
        Place recall</a></li>
16
        Place recall</a></li>
17
    [% END %]
17
    [% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/title-actions-menu.inc (-1 / +1 lines)
Lines 17-23 Link Here
17
        [% END # / UNLESS items.norequests %]
17
        [% END # / UNLESS items.norequests %]
18
    [% END # / OPACHoldRequests %]
18
    [% END # / OPACHoldRequests %]
19
19
20
    [% IF Koha.Preference('UseRecalls') %]
20
    [% IF Koha.Preference('UseRecalls') AND Koha.Preference('RecallsInterface') != 'staff' %]
21
        <span class="actions"><a class="btn btn-link btn-sm recall" href="/cgi-bin/koha/opac-recall.pl?biblionumber=[% items.biblionumber | html %]"><i class="fa-solid fa-book-bookmark" aria-hidden="true"></i> Place recall</a></span>
21
        <span class="actions"><a class="btn btn-link btn-sm recall" href="/cgi-bin/koha/opac-recall.pl?biblionumber=[% items.biblionumber | html %]"><i class="fa-solid fa-book-bookmark" aria-hidden="true"></i> Place recall</a></span>
22
    [% END %]
22
    [% END %]
23
23
(-)a/opac/opac-recall.pl (-2 / +1 lines)
Lines 36-42 my $op = $query->param('op') || ''; Link Here
36
my $biblionumber = $query->param('biblionumber');
36
my $biblionumber = $query->param('biblionumber');
37
my $biblio = Koha::Biblios->find( $biblionumber );
37
my $biblio = Koha::Biblios->find( $biblionumber );
38
38
39
if ( C4::Context->preference('UseRecalls') ) {
39
if ( C4::Context->preference('UseRecalls') and C4::Context->preference('RecallsInterface') ne 'staff' ) {
40
40
41
    my $patron = Koha::Patrons->find( $borrowernumber );
41
    my $patron = Koha::Patrons->find( $borrowernumber );
42
    my $error;
42
    my $error;
43
- 

Return to bug 31391