From 486b5e4e0fb75259c51f7f60616a427ccc9d9024 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 Signed-off-by: Arthur Suzuki Signed-off-by: Martin Renvoize Signed-off-by: Fridolin Somers --- .../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 0000000000..d35f06fee5 --- /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.39.5