@@ -, +, @@ - Correcting page title - Adding breadcrums - Adding sidebar menu (matching other batch mod pages) - Showing "loading" graphic during AJAX operations - Adding empty option to list of MARC tags so that onchange event will fire when the user is choosing 000 - Other structural markup changes --- .../prog/en/modules/tools/batchedit.tt | 49 +++++++++++++------ koha-tmpl/intranet-tmpl/prog/img/loading-small.gif | Bin 0 -> 1652 bytes 2 files changed, 33 insertions(+), 16 deletions(-) create mode 100644 koha-tmpl/intranet-tmpl/prog/img/loading-small.gif --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchedit.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchedit.tt @@ -1,5 +1,5 @@ [% INCLUDE 'doc-head-open.inc' %] -Koha › Tools › Batch Deletion of Items +Koha › Tools › Batch record of modification [% INCLUDE 'doc-head-close.inc' %] [% UNLESS ( modsuccess ) %] @@ -10,10 +10,12 @@ function fieldChanged(){ var field = $('#fieldchoice').val(); + $("#loading").html(" \"\""); $.ajax({ url: CGIBIN + 'tools/batchedit.pl?field=' + field, dataType: 'json', success: function(data){ + $("#loading").html(""); $("#subfieldchoice option").remove(); var subfield = $('#subfieldchoice'); @@ -60,7 +62,7 @@ $("#condvaltd").html(''); $("#repvaltd").html(''); } - $('All').appendTo("#condvaltd"); + $('').appendTo("#condvaltd"); } }); @@ -116,24 +118,40 @@ [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %] + + +
-
+ [% IF ( moddone ) %]
All operations processed
[% END %] [% UNLESS ( bib_list ) %] -

Batch records modification

+

Batch record modification

+
+
Use a file of biblionumbers
+
+
+
+

Reminder: You can also add records to your cart and reach this page from the cart.

+
+
+
Or enter records one by one
    @@ -142,7 +160,7 @@
-

Reminder: you can also add biblios to your cart and reach this page from the cart

+
[% ELSE %]

List of records:

@@ -155,7 +173,7 @@ [% FOREACH biblioinfo IN biblioinfos %] [% biblioinfo.biblionumber %] - [% biblioinfo.title %] + [% biblionumber = biblioinfo.biblionumber %] [% INCLUDE 'biblio-default-view.inc' %][% IF ( biblioinfo.title ) %][% biblioinfo.title |html %][% ELSE %]No title[% END %] [% biblioinfo.author %] [% IF ( moddone ) %] [% IF ( biblioinfo.OK ) %] @@ -180,7 +198,6 @@ [% IF ( bib_list ) %]

Modification rules:

- @@ -192,6 +209,7 @@
+ - All + @@ -223,18 +240,18 @@
- (don't forget to click "Add" button on the right of the previous form before submitting) +
(don't forget to click "Add" button on the right of the previous form before submitting)
[% ELSE %] - - +
[% END %] [% END %]
+
+ [% INCLUDE 'tools-menu.inc' %] +
-
- - +[% INCLUDE 'intranet-bottom.inc' %]