From d83e411492e30ad8e05b3239fc91b6967c667705 Mon Sep 17 00:00:00 2001 From: Liz Rea Date: Mon, 9 May 2011 10:19:35 -0500 Subject: [PATCH] Bug 6323 - Attach/move items -- error handling cleanup Content-Type: text/plain; charset="utf-8" When an item move fails using Attach Item, the current behavior is to send the user back to the MARC detail page only. I believe there should be an option to "try with a different barcode." This patch adds that functionality. --- .../prog/en/modules/cataloguing/moveitem.tt | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt index 4956f18..80bcfc0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt @@ -14,10 +14,14 @@ [% IF ( errornoitem ) %]ERROR: Unable to get the item.[% END %] [% IF ( errornoitemnumber ) %]ERROR: Unable to get the item number from this barcode.[% END %] -
- - -
+
+ + +
+
+ + +
[% ELSE %] [% IF ( success ) %]
The item has successfully been attached to [% INCLUDE 'biblio-default-view.inc' %][% bibliotitle |html %].[% IF ( BiblioDefaultViewmarc ) %] -- 1.5.6.5