View | Details | Raw Unified | Return to bug 27344
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/background_jobs/update_elastic_index.inc (-1 / +23 lines)
Line 0 Link Here
0
- 
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 %]

Return to bug 27344