From 3d02e9424d29df92bd6d5280b0cdf9e0b8f5c664 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 13 Jun 2022 14:47:12 +0200 Subject: [PATCH] Bug 30954: (bug 27344 follow-up) Remove background_jobs_update_elastic_index.inc includes/background_jobs_update_elastic_index.inc vs includes/background_jobs/update_elastic_index.inc Both exist and have been added by bug 27344. The first one is not used. Test plan: git grep background_jobs_update_elastic_index.inc must not return any occurrences (outside of POs) Signed-off-by: Martin Renvoize --- .../background_jobs_update_elastic_index.inc | 23 ------------------- 1 file changed, 23 deletions(-) delete mode 100644 koha-tmpl/intranet-tmpl/prog/en/includes/background_jobs_update_elastic_index.inc diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/background_jobs_update_elastic_index.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/background_jobs_update_elastic_index.inc deleted file mode 100644 index d35f06fee5..0000000000 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/background_jobs_update_elastic_index.inc +++ /dev/null @@ -1,23 +0,0 @@ -[% USE Koha %] - -[% BLOCK report %] - [% SET report = job.report %] - [% IF report %] - [% IF report.total_records == 1 %] - [% IF report.total_success == 1 %] -
The records have successfully been reindexed!
- [% END %] - [% ELSE %] -
- [% report.total_success | html %] / [% report.total_records | html %] records have successfully been reindexed. Some errors occurred. - [% IF job.status == 'cancelled' %]The job has been cancelled before it finished.[% END %] -
- [% END %] - [% END %] -[% END %] - -[% BLOCK detail %] -[% END %] - -[% BLOCK js %] -[% END %] -- 2.20.1