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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/errors/errorpage.tt (-21 / +29 lines)
Lines 24-48 Link Here
24
    [% END #/ WRAPPER breadcrumbs %]
24
    [% END #/ WRAPPER breadcrumbs %]
25
[% END #/ WRAPPER sub-header.inc %]
25
[% END #/ WRAPPER sub-header.inc %]
26
26
27
[% WRAPPER 'main-container.inc' %]
27
<div class="main container-fluid">
28
    <h1>An error has occurred!</h1>
28
    <div class="row">
29
    <h2><em>[% tx("Error {error_number}", {error_number = errno }) | html %]</em></h2>
29
        <div class="col-md-8 offset-md-2">
30
    [% IF ( csrf_error ) %]
30
            [% INCLUDE 'messages.inc' %]
31
        [% INCLUDE 'blocking_errors.inc' blocking_error => csrf_error %]
31
32
    [% ELSE %]
32
            <h1>An error has occurred!</h1>
33
        <h3>This message may have been caused by any of the following reasons:</h3>
33
            <h2><em>[% tx("Error {error_number}", {error_number = errno }) | html %]</em></h2>
34
        <ul style="padding-bottom: 0.5em;">
34
            [% IF ( csrf_error ) %]
35
            <li>You made use of an external link to an item that is no longer available</li>
35
                [% INCLUDE 'blocking_errors.inc' blocking_error => csrf_error %]
36
            <li>You followed an outdated link e.g. from a search engine or a bookmark</li>
36
            [% ELSE %]
37
            <li>You tried to access a page that needs authentication</li>
37
                <h3>This message may have been caused by any of the following reasons:</h3>
38
            <li>An internal link in the client is broken and the page does not exist</li>
38
                <ul style="padding-bottom: 0.5em;">
39
        </ul>
39
                    <li>You made use of an external link to an item that is no longer available</li>
40
    [% END %]
40
                    <li>You followed an outdated link e.g. from a search engine or a bookmark</li>
41
    <h3>What's next?</h3>
41
                    <li>You tried to access a page that needs authentication</li>
42
    <ul style="margin-bottom: 1em; padding-bottom: 1em; border-bottom: 1px solid #CCC;">
42
                    <li>An internal link in the client is broken and the page does not exist</li>
43
        <li>Use top menu bar to navigate to another part of Koha.</li>
43
                </ul>
44
        <li>To report a broken link or any other issue, please contact the Koha administrator. <a href="mailto:[% admin | uri %]">Send email</a></li>
44
            [% END %]
45
    </ul>
45
            <h3>What's next?</h3>
46
[% END %]
46
            <ul style="margin-bottom: 1em; padding-bottom: 1em; border-bottom: 1px solid #CCC;">
47
                <li>Use top menu bar to navigate to another part of Koha.</li>
48
                <li>To report a broken link or any other issue, please contact the Koha administrator. <a href="mailto:[% admin | uri %]">Send email</a></li>
49
            </ul>
50
        </div>
51
        <!-- /.col-md-8 -->
52
    </div>
53
    <!-- /.row -->
54
</div>
55
<!-- /.main.container-fluid -->
47
56
48
[% INCLUDE 'intranet-bottom.inc' %]
57
[% INCLUDE 'intranet-bottom.inc' %]
49
- 

Return to bug 38664