Koha/koha-tmpl/intranet-tmpl/prog/en/modules/errors/errorpage.tt
Owen Leonard 1a200cc25e
Bug 32973: Use template wrapper for breadcrumbs: about, main, and error page
This patch updates the staff interface home page, the about page, and
the error page template so that they use the new template WRAPPER for
breadcrumbs.

To test, apply the patch and view each page to confirm that the
breadcrumbs are correct:

- Staff interface home page
- About page
- Error page (the easiest example is a 404 error)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-02-27 11:39:31 -03:00

44 lines
1.7 KiB
Text

[% USE raw %]
[% INCLUDE 'doc-head-open.inc' %]
<title>Error [% errno | html %] &rsaquo; Koha</title>
[% INCLUDE 'doc-head-close.inc' %]
</head>
<body id="err_[% errno | html %]" class="err">
[% WRAPPER 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
[% END %]
[% WRAPPER 'sub-header.inc' %]
[% WRAPPER breadcrumbs %]
[% WRAPPER breadcrumb_item %]
<a href="#" aria-current="page">
Error [% errno | html %]
</a>
[% END %]
[% END #/ WRAPPER breadcrumbs %]
[% END #/ WRAPPER sub-header.inc %]
<div class="main container-fluid">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<h1>An error has occurred!</h1>
<h2><em>Error [% errno | html %]</em></h2>
<h3>This message may have been caused by any of the following reasons:</h3>
<ul style="padding-bottom: 0.5em;">
<li>You made use of an external link to an item that is no longer available</li>
<li>You followed an outdated link e.g. from a search engine or a bookmark</li>
<li>You tried to access a page that needs authentication</li>
<li>An internal link in the client is broken and the page does not exist</li>
</ul>
<h3>What's next?</h3>
<ul style="margin-bottom: 1em; padding-bottom: 1em; border-bottom: 1px solid #CCC;">
<li>Use top menu bar to navigate to another part of Koha.</li>
<li>To report a broken link or any other issue, please contact the Koha administrator. <a href="mailto:[% admin | uri %]">Send email</a></li>
</ul>
</div> <!-- /.col-md-8 -->
</div> <!-- /.row -->
[% INCLUDE 'intranet-bottom.inc' %]