From: Owen Leonard Date: Wed, 17 Apr 2019 16:20:18 +0000 (+0000) Subject: Bug 15496: (follow-up) Update interaction for deleting records X-Git-Url: http://git.equinoxoli.org/?p=koha-equinox.git;a=commitdiff_plain;h=bf473396ab1313867ead815ca3e8758b76233931 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 --- 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 29e6499..1816647 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 @@