[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
Fri Dec 4 00:37:52 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15288

--- Comment #7 from Marc Véron <veron at veron.ch> ---
Created attachment 45396
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=45396&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)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list