4 [% SET report = job.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>
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' %]<span>The job has been cancelled before it finished.</span>[% END %]
20 [% FOR m IN job.messages %]
21 <div class="dialog message">
22 [% IF m.type == 'success' %]
23 <i class="fa fa-check success"></i>
24 [% ELSIF m.type == 'warning' %]
25 <i class="fa fa-warning warn"></i>
26 [% ELSIF m.type == 'error' %]
27 <i class="fa fa-exclamation error"></i>
30 [% CASE 'index_error' %]
31 Something went wrong during the indexation process: [% m.error | html %]