@@ -, +, @@ --- .../prog/en/modules/admin/background_jobs.tt | 15 ++ .../tools/batch_record_modification.tt | 52 ++----- tools/batch_record_modification.pl | 131 ++---------------- 3 files changed, 38 insertions(+), 160 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/background_jobs.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/background_jobs.tt @@ -76,6 +76,21 @@ Bibliographic record [% m.biblionumber | html %] has not been modified. An error occurred on modifying it. [% CASE 'biblio_modified' %] Bibliographic record [% m.biblionumber | html %] has successfully been modified. +

Next steps

+ [% END %] [% END %] --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt @@ -42,12 +42,8 @@ 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 == 'biblio_not_modified' %] - Bibliographic record [% message.biblionumber | html %] has not been modified. An error occurred on modifying it. [% ELSIF message.code == 'authority_not_modified' %] Authority record [% message.authid | html %] has not been modified. An error occurred on modifying it. - [% ELSIF message.code == 'biblio_modified' %] - Bibliographic record [% message.biblionumber | html %] has successfully been modified. [% ELSIF message.code == 'authority_modified' %] Bibliographic record [% message.authid | html %] has successfully been modified. [% END %] @@ -147,7 +143,7 @@ [% ELSIF view == 'list' %] [% IF records %] -
+ - - - - Cancel + -
-
Job progress:
0%
-
-
[% ELSE %]
No records were modified. [% IF recordtype != 'biblio' %]New batch record modification[% END %]
[% END %] - [% ELSIF view == 'report' %] - [% IF report.total_records == report.total_success %] -
- All records have successfully been modified! [% IF recordtype != 'biblio' %]New batch record modification[% END %] -
- [% ELSE %] -
- [% report.total_success | html %] / [% report.total_records | html %] records have successfully been modified. Some errors occurred. New batch record modification -
- [% END %] - - [% IF recordtype == 'biblio' %] -

Next steps

- - [% END %] [% ELSIF view == 'errors' %] [% FOR error IN errors %] [% IF error == 'no_template_defined' %] @@ -284,6 +245,12 @@ [% 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. @@ -291,7 +258,6 @@ [% END %]
-