Batch record modification
[% IF ( messages ) %]
[% FOREACH message IN messages %]
[% IF message.type == 'success' %]
[% MACRO jsinclude BLOCK %]
[% Asset.js("js/tools-menu.js") | $raw %]
[% INCLUDE 'datatables.inc' %]
[% Asset.js("lib/jquery/plugins/humanmsg.js") | $raw %]
[% Asset.js("js/background-job-progressbar.js") | $raw %]
[% END %]
[% INCLUDE 'intranet-bottom.inc' %]
[% ELSIF message.type == 'warning' %]
[% ELSE %]
[% ELSIF message.type == 'error' %]
[% END %]
[% IF view == 'form' %]
[% ELSIF view == 'list' %]
[% IF records %]
[% ELSE %]
[% END %]
[% IF message.code == 'no_action_defined_for_the_template' %]
The selected template (id=[% message.mmtid | html %]) does not exist or no action is defined.
[% ELSIF message.code == 'biblio_not_exists' %]
Bibliographic record [% message.biblionumber | html %] does not exist in the database.
[% ELSIF message.code == 'authority_not_exists' %]
Authority record [% message.authid | html %] does not exist in the database.
[% ELSIF message.code == 'cannot_enqueue_job' %]
Cannot enqueue this job.
[% END %]
[% IF message.error %]
(The error was: [% message.error | html %]. See the Koha logfile for more information).
[% END %]
[% END %]
No records were modified. [% IF recordtype != 'biblio' %]New batch record modification[% END %]
[% END %]
[% ELSIF view == 'errors' %]
[% FOR error IN errors %]
[% IF error == 'no_template_defined' %]
No MARC modification template is defined. You have to create at least one template for using this tool.
[% END %]
[% END %]
[% ELSIF view == 'enqueued' %]
The job has been enqueued! It will be processed as soon as possible (FIXME - well, it could depend on a config?)
View detail of the enqueued job | New batch record modification
No action defined for the template.
[% END %]