X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=koha-tmpl%2Fintranet-tmpl%2Fprog%2Fen%2Fmodules%2Ftools%2FbatchMod-edit.tt;h=c25dfe4b490c090710fc4b339e844482f70423fa;hb=617e2f822141c9a430f87304e6030f3d2fb4a6d7;hp=4c7198e5097fcb5d5cc684eecc8c08f07484b051;hpb=31a0ed0a43bb4ecfde0b762eb6e654c51da6f66e;p=koha.git diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt index 4c7198e509..c25dfe4b49 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt @@ -1,47 +1,55 @@ +[% USE Koha %] [% INCLUDE 'doc-head-open.inc' %] Koha › Tools › Batch item modification [% INCLUDE 'doc-head-close.inc' %] - - - - + + + +[% INCLUDE 'datatables.inc' %] + + - - + + + +[% INCLUDE 'select2.inc' %] + + [% INCLUDE 'header.inc' %] @@ -56,7 +64,27 @@ $("input[name='disable_input']").click(function() {
- [% IF ( show ) %]

Batch item modification

[% ELSE %]

Batch item modification results

[% END %] + [% IF ( show ) %] +

Batch item modification

+ [% ELSE %] +

Batch item modification results

+
+ [% IF (modified_items) %] + [% modified_items %] item(s) modified (with [% modified_fields %] field(s) modified). + [% ELSE %] + No items modified. + [% END %] +
+ [% IF src == 'CATALOGUING' # from catalogue/detail.pl > Edit items in a batch%] + Return to the record + [% ELSIF src %] + Return to where you were + [% ELSE %] + Return to batch item modification + [% END %] +
+
+ [% END %] [% IF ( barcode_not_unique ) %]
Error saving item: Barcode must be unique.
[% END %] [% IF ( no_next_barcode ) %]
Error saving items: Unable to automatically determine values for barcodes. No item has been inserted.
[% END %] [% IF ( book_on_loan ) %]
Cannot Delete: item is checked out.
[% END %] @@ -70,12 +98,14 @@ $("input[name='disable_input']").click(function() { [% FOREACH notfoundbarcode IN notfoundbarcodes %] - [% notfoundbarcode.barcode %] + [% notfoundbarcode.barcode |html %] [% END %] - [% UNLESS ( too_many_items ) %] -

The following barcodes were found:

+ [% IF ( item_loop ) %] + [% UNLESS ( too_many_items ) %] +

The following barcodes were found:

+ [% END %] [% END %] [% END %] @@ -85,9 +115,16 @@ $("input[name='disable_input']").click(function() { + [% IF biblionumber %] + + [% END %] [% IF ( item_loop ) %] - [% IF ( show ) %][% ELSE %][% END %] + [% IF show %] + + [% END %]

Show/hide columns: @@ -99,14 +136,24 @@ $("input[name='disable_input']").click(function() {   - Title + Title [% FOREACH item_header_loo IN item_header_loop %] [% item_header_loo.header_value %] [% END %] - [% FOREACH item_loo IN item_loop %] [% IF ( show ) %][% IF ( item_loo.nomod ) %] Cannot Edit[% ELSE %][% END %][% ELSE %] [% END %] + [% FOREACH item_loo IN item_loop %] + + [% IF show %] + [% IF item_loo.nomod %] + Cannot edit + [% ELSE %] + + [% END %] + [% ELSE %] +   + [% END %] [% FOREACH item_valu IN item_loo.item_value %] [% item_valu.field |html %] [% END %] @@ -130,52 +177,99 @@ $("input[name='disable_input']").click(function() { [% IF ( show ) %] [% IF ( too_many_items ) %] -

Too many items ([% too_many_items %]): not displaying each one individually.

- [% FOREACH itemnumbers_hashre IN itemnumbers_hashref %] - +

Too many items ([% too_many_items %]): You are not allowed to edit more than [% Koha.Preference('MaxItemsToProcessForBatchMod') %] items in a batch.

+ [% FOREACH itemnumber IN itemnumbers_array %] + [% END %] [% END %] +[% IF ( item_loop ) %]

Edit Items

-
Checking the box right next the subfield label will disable the entry and delete the values of that subfield on all selected items
+
Checking the box right next the subfield label will disable the entry and delete the subfield on all selected items. Leave fields blank to make no change.
    [% FOREACH ite IN item %] -
  1. - - - [% ite.marc_value %] - - - - [% IF ( ite.repeatable ) %] - + +
  2. +
    + [% SET mv = ite.marc_value %] + [% IF ( ite.mandatory ) %] +
  3. + [% mv.javascript %] + [% ELSIF ( mv.type == 'text' ) %] + + [% ELSIF ( mv.type == 'hidden' ) %] + + [% ELSIF ( mv.type == 'textarea' ) %] + + [%- END -%] + + [% UNLESS ( ite.mandatory ) %] + + [% ELSE %] + Required + [% END %] + + + + + [% IF ( ite.repeatable ) %] + + Clone + + [% END %] + +
+ [% END %]
-
Job progress:
0%
+
Job progress:
0%
- - Cancel + + Cancel
+[% ELSE %] +

Return to batch item modification

+[% END %] [% ELSE %]
-[% IF ( src == 'CATALOGUING') %] - Done +[% IF src == 'CATALOGUING' # from catalogue/detail.pl > Edit items in a batch%] + Return to the record +[% ELSIF src %] + Return to where you were [% ELSE %] - Done + Return to batch item modification [% END %]