From b2363bf1251d42a9a49a153ef5173816b15950ae Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 30 Mar 2022 15:20:20 +0200 Subject: [PATCH] Bug 27344: Add missing include file --- .../background_jobs/update_elastic_index.inc | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create 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 new file mode 100644 index 00000000000..d35f06fee51 --- /dev/null +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/background_jobs/update_elastic_index.inc @@ -0,0 +1,23 @@ +[% 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.25.1