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' %]
[% 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 == 'authority_not_modified' %]
Authority record [% message.authid | html %] has not been modified. An error occurred on modifying it.
[% ELSIF message.code == 'authority_modified' %]
Bibliographic record [% message.authid | html %] has successfully been modified.
[% 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
[% ELSE %]
No action defined for the template.
[% END %]