From 4da18e1dbeba0fa129bbbe4e1402322f43071997 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 6 Apr 2016 10:54:48 -0400 Subject: [PATCH] Bug 9387 - Feedback message for FAILED check out items are not obvious for visually impaired Content-Type: text/plain; charset="utf-8" This patch adds a heading to the error dialg displayed when a barcode has been submitted for checkout which doesn't exist. This patch also modifies the markup of the error dialog in order to make error a little more clear to sighted users. To test, apply the patch and submit a barcode for checkout which does not exist. The resulting error dialog should have a heading, "Barcode not found." --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt index aa7bbdb..07adc99 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -424,6 +424,9 @@ $(document).ready(function() {
+ [% IF ( UNKNOWN_BARCODE ) %] +

Barcode not found

+ [% END %]
    [% IF ( STATS ) %] @@ -435,7 +438,7 @@ $(document).ready(function() { [% END %] [% IF ( UNKNOWN_BARCODE ) %] -
  • The barcode was not found [% barcode |html %] +
  • The barcode was not found: [% barcode |html %] [% IF ( fast_cataloging ) %] [% IF ( CAN_user_editcatalogue_fast_cataloging ) %] Fast cataloging -- 2.1.4