From a7173274164c1a9b474479cfe44ccb6f228a3024 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 Signed-off-by: Tomas Cohen Arazi (cherry picked from commit cfb293a08a3a343213389c681a0a55be936cfd13) Signed-off-by: Lucas Gass --- .../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.39.5