Bug 20168: Update of the OPAC bootstrap template to bootstrap v4
[koha.git] / koha-tmpl / opac-tmpl / bootstrap / en / modules / errors / errorpage.tt
blobe47b510a5e56b20fe6fc2a31c09f032deb576508
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog &rsaquo;  An error has occurred</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 [% BLOCK cssinclude %][% END %]
5 </head>
6 <body id="error[% errno | html %]" class="error">
7 [% INCLUDE 'masthead.inc' %]
9     <div class="main">
10         <nav aria-label="breadcrumb">
11             <ul class="breadcrumb">
12                 <li class="breadcrumb-item">
13                     <a href="/cgi-bin/koha/opac-main.pl">Home</a>
14                 </li>
15                 <li class="breadcrumb-item active" aria-current="page">
16                     <a href="#">Error [% errno | html %]</a>
17                 </li>
18             </ul>
19         </nav>
21         <div class="container-fluid">
22             <div class="row">
23                 [% IF ( OpacNav || OpacNavBottom ) %]
24                     <div class="col-lg-2">
25                         <div id="navigation">
26                             [% INCLUDE 'navigation.inc' %]
27                         </div>
28                     </div>
29                    <div class="col-10 order-first order-md-first order-lg-2">
30                 [% ELSE %]
31                     <div class="col order-first order-md-first order-lg-2">
32                 [% END %]
33                     <div id="errormsg[% errno | html %]">
34                         <h3>Sorry, the requested page is not available</h3>
35                         <h4>Error [% errno | html %]</h4>
36                         <h5>This message can have the following reason(s):</h5>
37                         <ul>
38                             [% IF ( errno == 400 ) %]
39                                 <li>The link is broken and the page does not exist.</li>
40                             [% END %]
42                             [% IF ( errno == 401 ) %]
43                                 <li>You are not authorized to view this page.</li>
44                             [% END %]
46                             [% IF ( errno == 402 ) %]
47                                <li>The link is invalid.</li>
48                             [% END %]
50                             [% IF ( errno == 403 ) %]
51                                 <li>You are forbidden to view this page.</li>
52                             [% END %]
54                             [% IF ( errno == 404 ) %]
55                                 <li>You made use of an external link to a catalog item that is no longer available.</li>
56                                 <li>You followed an outdated link e.g. from a search engine or a bookmark.</li>
57                                 <li>You tried to access a page that needs authentication.</li>
58                                 <li>An internal link in our catalog home page is broken and the page does not exist.</li>
59                             [% END %]
60                             [% IF ( errno == 500 ) %]
61                                 <li>An error occurred while processing your request.</li>
62                             [% END %]
63                         </ul>
64                         <h4>What's next?</h4>
65                         <ul>
66                             [% IF ( errno == 401 ) && ( Koha.Preference( 'opacuserlogin' ) == 1 ) %]
67                                 <li>Please log in to the catalog and try again. <a href="/cgi-bin/koha/opac-user.pl">Login page</a></li>
68                             [% END %]
69                             <li>You can use the menu and links at the top of the page</li>
70                             <li>You can search our catalog using the search form at the top of this page.</li>
71                             <li><a href="/cgi-bin/koha/opac-main.pl">Return to the catalog home page.</a></li>
72                         </ul>
73                         <h4>Report issues and broken links</h4>
74                         <ul>
75                             <li>To report this error, please contact the Koha Administrator.
76                                     <a href="mailto:[% admin | uri %]">Send email</a>.</li>
77                         </ul>
78                     </div> <!-- / #errormsg[% errno | html %] -->
79                 </div> <!-- / .col-lg10/12 -->
80             </div> <!-- / .row -->
81         </div> <!-- / .container-fluid -->
82     </div> <!-- / .main -->
84 [% INCLUDE 'opac-bottom.inc' %]
85 [% BLOCK jsinclude %]
86 [% END %]