d35f06fee51fd78fd3c73024142c5773f9fd2829
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / background_jobs_update_elastic_index.inc
1 [% USE Koha %]
2
3 [% BLOCK report %]
4     [% SET report = job.report %]
5     [% IF report %]
6         [% IF report.total_records == 1 %]
7             [% IF report.total_success == 1 %]
8                 <div class="dialog message">The records have successfully been reindexed!</div>
9             [% END %]
10         [% ELSE %]
11             <div class="dialog message">
12                 [% report.total_success | html %] / [% report.total_records | html %] records have successfully been reindexed. Some errors occurred.
13                 [% IF job.status == 'cancelled' %]The job has been cancelled before it finished.[% END %]
14             </div>
15         [% END %]
16     [% END %]
17 [% END %]
18
19 [% BLOCK detail %]
20 [% END %]
21
22 [% BLOCK js %]
23 [% END %]