From bf473396ab1313867ead815ca3e8758b76233931 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 17 Apr 2019 16:20:18 +0000 Subject: [PATCH] Bug 15496: (follow-up) Update interaction for deleting records This patch makes minor changes to markup and JavaScript to alter the interaction for deleting the record. Now a successful deletion will convert the dialog to a "message" type dialog and show only the success message. To test, apply the patch and test the process of attaching the last item from a record and deleting that record. Signed-off-by: Tomas Cohen Arazi Signed-off-by: Nick Clemens --- .../prog/en/modules/cataloguing/moveitem.tt | 23 ++++++++++--------- 1 file changed, 12 insertions(+), 11 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 29e6499774..1816647351 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt @@ -53,16 +53,17 @@ [% ELSE %] [% IF ( success ) %] [% IF from_biblio.items.count == 0 %] -
- The record [% from_biblio.title | html %] has [% from_biblio.items.count | html %] attached items. -

- - - +

+
+ The record [% from_biblio.title | html %] has [% from_biblio.items.count | html %] attached items. +

+
+

+ +

-
[% END %]
The item has successfully been attached to [% INCLUDE 'biblio-default-view.inc' %][% bibliotitle | html %]. @@ -116,18 +117,18 @@