[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 22:20:44 CET 2015


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

Héctor Eduardo Castro Avalos <hector.hecaxmmx at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45422|0                           |1
        is obsolete|                            |

--- Comment #10 from Héctor Eduardo Castro Avalos <hector.hecaxmmx at gmail.com> ---
Created attachment 45425
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=45425&action=edit
[SIGNED-OFF]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

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


More information about the Koha-bugs mailing list