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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-detail-sidebar.inc (-1 / +1 lines)
Lines 12-18 Link Here
12
    [% END %]
12
    [% END %]
13
13
14
    [% IF Koha.Preference('UseRecalls') %]
14
    [% IF Koha.Preference('UseRecalls') %]
15
        <li><a class="recall btn btn-link btn-lg" href="/cgi-bin/koha/opac-recall.pl?biblionumber=[% biblio.biblionumber | html %]"><i class="fa fa-fw fa-bookmark-o"></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 fa-fw fa-bookmark-o" aria-hidden="true"></i>
16
        Place recall</a></li>
16
        Place recall</a></li>
17
    [% END %]
17
    [% END %]
18
18
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-recall.tt (-1 / +1 lines)
Lines 151-157 Link Here
151
                                        <fieldset class="action">
151
                                        <fieldset class="action">
152
                                            <input type="hidden" name="op" value="request">
152
                                            <input type="hidden" name="op" value="request">
153
                                            <input type="hidden" name="biblionumber" value="[% biblio.biblionumber | html %]">
153
                                            <input type="hidden" name="biblionumber" value="[% biblio.biblionumber | html %]">
154
                                            <input type="submit" class="btn" value="Confirm">
154
                                            <input type="submit" class="btn btn-primary" value="Confirm">
155
                                            <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblio.biblionumber | uri %]" class="cancel">Cancel</a>
155
                                            <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblio.biblionumber | uri %]" class="cancel">Cancel</a>
156
                                        </fieldset>
156
                                        </fieldset>
157
                                    </form>
157
                                    </form>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt (-2 / +2 lines)
Lines 833-839 Link Here
833
                                                        <input type="hidden" name="op" value="cancel">
833
                                                        <input type="hidden" name="op" value="cancel">
834
                                                        <input type="hidden" name="recall_id" value="[% RECALL.recall_id | html %]">
834
                                                        <input type="hidden" name="recall_id" value="[% RECALL.recall_id | html %]">
835
                                                        <input type="hidden" name="biblionumber" value="[% RECALL.biblionumber | html %]">
835
                                                        <input type="hidden" name="biblionumber" value="[% RECALL.biblionumber | html %]">
836
                                                        <button type="submit" name="submit" class="btn btn-sm btn-danger" id="cancel_recall"><i class="icon-remove icon-white"></i> Cancel</button>
836
                                                        <button type="submit" name="submit" class="btn btn-sm btn-danger cancel_recall"><i class="fa fa-remove" aria-hidden="true"></i> Cancel</button>
837
                                                    </form>
837
                                                    </form>
838
                                                [% END %]
838
                                                [% END %]
839
                                            </td>
839
                                            </td>
Lines 1187-1193 Link Here
1187
                });
1187
                });
1188
            }
1188
            }
1189
1189
1190
            $("#cancel_recall").click(function(e){
1190
            $(".cancel_recall").click(function(e){
1191
                return confirmDelete(_("Are you sure you want to remove this recall?"));
1191
                return confirmDelete(_("Are you sure you want to remove this recall?"));
1192
            });
1192
            });
1193
1193
(-)a/members/recallshistory.pl (-1 lines)
Lines 27-33 my ($template, $loggedinuser, $cookie)= get_template_and_user( Link Here
27
       template_name => "members/recallshistory.tt",
27
       template_name => "members/recallshistory.tt",
28
       query => $input,
28
       query => $input,
29
       type => "intranet",
29
       type => "intranet",
30
       authnotrequired => 0,
31
       flagsrequired => { recalls => 1 },
30
       flagsrequired => { recalls => 1 },
32
       debug => 1,
31
       debug => 1,
33
    }
32
    }
(-)a/opac/opac-recall.pl (-1 lines)
Lines 29-35 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
29
        template_name   => "opac-recall.tt",
29
        template_name   => "opac-recall.tt",
30
        query           => $query,
30
        query           => $query,
31
        type            => "opac",
31
        type            => "opac",
32
        authnotrequired => 0,
33
    }
32
    }
34
);
33
);
35
34
(-)a/opac/opac-recalls.pl (-1 lines)
Lines 29-35 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
29
      template_name   => "opac-recalls.tt",
29
      template_name   => "opac-recalls.tt",
30
      query           => $input,
30
      query           => $input,
31
      type            => "opac",
31
      type            => "opac",
32
      authnotrequired => 0,
33
   }
32
   }
34
);
33
);
35
34
(-)a/recalls/recall_pickup_slip.pl (-1 lines)
Lines 30-36 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
30
        template_name   => "circ/printslip.tt",
30
        template_name   => "circ/printslip.tt",
31
        query           => $input,
31
        query           => $input,
32
        type            => "intranet",
32
        type            => "intranet",
33
        authnotrequired => 0,
34
        flagsrequired   => { circulate => "circulate_remaining_permissions" },
33
        flagsrequired   => { circulate => "circulate_remaining_permissions" },
35
    }
34
    }
36
);
35
);
(-)a/recalls/recalls_old_queue.pl (-1 lines)
Lines 28-34 my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( Link Here
28
      template_name   => "recalls/recalls_old_queue.tt",
28
      template_name   => "recalls/recalls_old_queue.tt",
29
      query           => $query,
29
      query           => $query,
30
      type            => "intranet",
30
      type            => "intranet",
31
      authnotrequired => 0,
32
      flagsrequired   => { recalls => "manage_recalls" },
31
      flagsrequired   => { recalls => "manage_recalls" },
33
      debug           => 1,
32
      debug           => 1,
34
    }
33
    }
(-)a/recalls/recalls_overdue.pl (-1 lines)
Lines 29-35 my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( Link Here
29
       template_name   => "recalls/recalls_overdue.tt",
29
       template_name   => "recalls/recalls_overdue.tt",
30
       query           => $query,
30
       query           => $query,
31
       type            => "intranet",
31
       type            => "intranet",
32
       authnotrequired => 0,
33
       flagsrequired   => { recalls => "manage_recalls" },
32
       flagsrequired   => { recalls => "manage_recalls" },
34
       debug           => 1,
33
       debug           => 1,
35
    }
34
    }
(-)a/recalls/recalls_queue.pl (-1 lines)
Lines 28-34 my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( Link Here
28
      template_name   => "recalls/recalls_queue.tt",
28
      template_name   => "recalls/recalls_queue.tt",
29
      query           => $query,
29
      query           => $query,
30
      type            => "intranet",
30
      type            => "intranet",
31
      authnotrequired => 0,
32
      flagsrequired   => { recalls => 'manage_recalls' },
31
      flagsrequired   => { recalls => 'manage_recalls' },
33
      debug           => 1,
32
      debug           => 1,
34
    }
33
    }
(-)a/recalls/recalls_to_pull.pl (-1 lines)
Lines 28-34 my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( Link Here
28
      template_name   => "recalls/recalls_to_pull.tt",
28
      template_name   => "recalls/recalls_to_pull.tt",
29
      query           => $query,
29
      query           => $query,
30
      type            => "intranet",
30
      type            => "intranet",
31
      authnotrequired => 0,
32
      flagsrequired   => { recalls => 'manage_recalls' },
31
      flagsrequired   => { recalls => 'manage_recalls' },
33
      debug           => 1,
32
      debug           => 1,
34
    }
33
    }
(-)a/recalls/recalls_waiting.pl (-1 lines)
Lines 31-37 my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( Link Here
31
        template_name   => "recalls/recalls_waiting.tt",
31
        template_name   => "recalls/recalls_waiting.tt",
32
        query           => $query,
32
        query           => $query,
33
        type            => "intranet",
33
        type            => "intranet",
34
        authnotrequired => 0,
35
        flagsrequired   => { recalls => "manage_recalls" },
34
        flagsrequired   => { recalls => "manage_recalls" },
36
        debug           => 1,
35
        debug           => 1,
37
    }
36
    }
(-)a/recalls/request.pl (-1 lines)
Lines 30-36 my ($template, $loggedinuser, $cookie)= get_template_and_user( Link Here
30
       template_name => "recalls/request.tt",
30
       template_name => "recalls/request.tt",
31
       query => $input,
31
       query => $input,
32
       type => "intranet",
32
       type => "intranet",
33
       authnotrequired => 0,
34
       flagsrequired => { recalls => "manage_recalls" },
33
       flagsrequired => { recalls => "manage_recalls" },
35
       debug => 1,
34
       debug => 1,
36
    }
35
    }

Return to bug 19532