Bug 15288: Error pages: Code duplication removal and better translatability
[koha.git] / koha-tmpl / opac-tmpl / bootstrap / en / modules / errors / errorpage.tt
1 NCLUDE 'doc-head-open.inc' %]
2 <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% 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 %]" class="error">
7 [% INCLUDE 'masthead.inc' %]
8
9     <div class="main">
10         <ul class="breadcrumb">
11             <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
12             <li><a href="#">Error [% errno %]</a></li>
13         </ul>
14
15         <div class="container-fluid">
16             <div class="row-fluid">
17                 [% IF ( OpacNav || OpacNavBottom ) %]
18                     <div class="span2">
19                         <div id="navigation">
20                             [% INCLUDE 'navigation.inc' %]
21                         </div>
22                     </div>
23                     <div class="span10">
24                 [% ELSE %]
25                     <div class="span12">
26                 [% END %]
27                     <div id="errormsg[% errno %]">
28                         <h3>Sorry, the requested page is not available</h3>
29                         <h4>Error [% errno %]</h4>
30                         <h3>This message can have following reason(s)</h3>
31                         <ul>
32                             [% IF ( errno == 400 ) %]
33                                 <li>Koha is pointed an invalid link.</li>
34                             [% END %]
35
36                             [% IF ( errno == 401 ) %]
37                                 <li>You are trying to access a link that you're not authorized to see.</li>
38                                 <li>Try logging in to the catalog.</li>
39                             [% END %]
40
41                             [% IF ( errno == 402 ) %]
42                                <li>Koha is pointed an invalid link.</li>
43                             [% END %]
44
45                             [% IF ( errno == 403 ) %]
46                                 <li>You are forbidden for some reason to see this page.</li>
47                             [% END %]
48
49                             [% IF ( errno == 404 ) %]
50                                 <li>You made use of an external link to a catalog item that is no longer available.</li>
51                                 <li>You followed an outdated link e.g. from a search engine or a bookmark.</li>
52                                 <li>You tried to access a page that needs authentification.</li>
53                                 <li>An internal link in our catalog home page is broken and the page does not exist.</li>
54                             [% END %]
55                             [% IF ( errno == 500 ) %]
56                                 <li>An error occurred while try to process your request.</li>
57                             [% END %]
58                         </ul>
59                         <h3>What's next?</h3>
60                         <ul>
61                             [% IF ( errno == 401 ) %]
62                                 <li>Try logging in to the catalog.</li>
63                             [% END %]
64                             <li>You can use the menu and links at the top of the page</li>
65                             <li>You can search our catalog using the search form at the top of this page.</li>
66                             <li><a href="/cgi-bin/koha/opac-main.pl">Return to the catalog home page.</a></li>
67                         </ul>
68                         <h3>Report issues and broken links</h3>
69                         <ul>
70                             <li>To report this error, please contact the Koha Administrator.
71                                     <a href="mailto:[% admin %]">Send email</a>.</li>
72                         </ul>
73                     </div> <!-- / #errormsg[% errno %] -->
74                 </div> <!-- / .span10/12 -->
75             </div> <!-- / .row-fluid -->
76         </div> <!-- / .container-fluid -->
77     </div> <!-- / .main -->
78
79 [% INCLUDE 'opac-bottom.inc' %]
80 [% BLOCK jsinclude %]
81 [% END %]