[Koha-bugs] [Bug 15288] Error pages: Code duplication removal and better translatability
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jan 6 14:03:42 CET 2016
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15288
Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #45425|0 |1
is obsolete| |
Attachment #45426|0 |1
is obsolete| |
Attachment #46316|0 |1
is obsolete| |
--- Comment #33 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 46322
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=46322&action=edit
Bug 15288: Error pages: Code duplication removal and better translatability
This patch changes the 400, 401, 402, 403, 404, 500 error pages to be handled
by only one template for staff and only one template for OPAC.
Additionally it removes a translatability issues due to sentence splitings by
html tags.
To test:
- Apply patch
- Trigger 404 error for staff and for OPAC by calling a page that does not
exist
- Try to trigger other error pages and/or carefully review code changes
in the *.pl files
- Review koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/errorpage.tt and
koha-tmpl/intranet-tmpl/prog/en/modules/errorpage.tt
(Amended to fix a typo)
(Amended for comment #6)
(Amended to cover OPAC error pages as well)
Signed-off-by: Hector Castro <hector.hecaxmmx at gmail.com>
Works as advertised
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list