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

(-)a/ill/ill-requests.pl (-1 / +3 lines)
Lines 22-28 use Modern::Perl; Link Here
22
use CGI;
22
use CGI;
23
23
24
use C4::Auth qw( get_template_and_user );
24
use C4::Auth qw( get_template_and_user );
25
use C4::Output qw( output_html_with_http_headers );
25
use C4::Output qw( output_and_exit output_html_with_http_headers );
26
use Koha::Notice::Templates;
26
use Koha::Notice::Templates;
27
use Koha::AuthorisedValues;
27
use Koha::AuthorisedValues;
28
use Koha::Illcomment;
28
use Koha::Illcomment;
Lines 97-102 if ( $backends_available ) { Link Here
97
                ( tran_success => $params->{tran_success} ) : () ),
97
                ( tran_success => $params->{tran_success} ) : () ),
98
        );
98
        );
99
99
100
        output_and_exit( $cgi, $cookie, $template, 'unknown_ill_request' ) if !$request;
101
100
        my $backend_result = $request->backend_illview($params);
102
        my $backend_result = $request->backend_illview($params);
101
        $template->param(
103
        $template->param(
102
            whole      => $backend_result,
104
            whole      => $backend_result,
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/blocking_errors.inc (+2 lines)
Lines 13-18 Link Here
13
        <div class="dialog message">Basket not found.</div>
13
        <div class="dialog message">Basket not found.</div>
14
    [% CASE 'unknown_vendor' %]
14
    [% CASE 'unknown_vendor' %]
15
        <div class="dialog message">Vendor not found.</div>
15
        <div class="dialog message">Vendor not found.</div>
16
    [% CASE 'unknown_ill_request' %]
17
        <div class="dialog message">ILL request not found.</div>
16
    [% CASE 'order_cannot_be_edited' %]
18
    [% CASE 'order_cannot_be_edited' %]
17
        <div class="dialog message">This order cannot be edited, the basket is closed or the order was already received.</div>
19
        <div class="dialog message">This order cannot be edited, the basket is closed or the order was already received.</div>
18
    [% CASE 'wrong_csrf_token' %]
20
    [% CASE 'wrong_csrf_token' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/ill-toolbar.inc (-1 / +1 lines)
Lines 1-3 Link Here
1
[% INCLUDE 'blocking_errors.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% IF Koha.Preference('ILLModule ') && CAN_user_ill %]
3
[% IF Koha.Preference('ILLModule ') && CAN_user_ill %]
3
    <div id="toolbar" class="btn-toolbar">
4
    <div id="toolbar" class="btn-toolbar">
4
- 

Return to bug 34598