@@ -, +, @@
- Apply patch
- Review koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/errorpage.tt
---
.../bootstrap/en/modules/errors/errorpage.tt | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/errorpage.tt
+++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/errorpage.tt
@@ -1,4 +1,4 @@
-NCLUDE 'doc-head-open.inc' %]
+[% INCLUDE 'doc-head-open.inc' %]
[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › An error has occurred
[% INCLUDE 'doc-head-close.inc' %]
[% BLOCK cssinclude %][% END %]
@@ -30,20 +30,19 @@ NCLUDE 'doc-head-open.inc' %]
This message can have following reason(s)
[% IF ( errno == 400 ) %]
- - Koha is pointed an invalid link.
+ - The link is broken and the page does not exist.
[% END %]
[% IF ( errno == 401 ) %]
- - You are trying to access a link that you're not authorized to see.
- - Try logging in to the catalog.
+ - You are not authorized to view this page.
[% END %]
[% IF ( errno == 402 ) %]
- - Koha is pointed an invalid link.
+ - The link is invalid.
[% END %]
[% IF ( errno == 403 ) %]
- - You are forbidden for some reason to see this page.
+ - You are forbidden to view this page.
[% END %]
[% IF ( errno == 404 ) %]
@@ -53,13 +52,13 @@ NCLUDE 'doc-head-open.inc' %]
- An internal link in our catalog home page is broken and the page does not exist.
[% END %]
[% IF ( errno == 500 ) %]
- - An error occurred while try to process your request.
+ - An error occurred while processing your request.
[% END %]
What's next?
- [% IF ( errno == 401 ) %]
- - Try logging in to the catalog.
+ [% IF ( errno == 401 ) && ( Koha.Preference( 'opacuserlogin' ) == 1 ) %]
+ - Please log in to the catalog and try again. Login page
[% END %]
- You can use the menu and links at the top of the page
- You can search our catalog using the search form at the top of this page.
--