Lines 23-30
Link Here
|
23 |
[% FOR m IN messages %] |
23 |
[% FOR m IN messages %] |
24 |
<div class="dialog message"> |
24 |
<div class="dialog message"> |
25 |
[% SWITCH m.code %] |
25 |
[% SWITCH m.code %] |
26 |
[% CASE 'cannot_retrieve_jobs' %] |
|
|
27 |
<div><i class="fa fa-exclamation error"></i>Cannot retrieve pending jobs ([% m.error | html %])</div> |
28 |
[% CASE 'cannot_view_job' %] |
26 |
[% CASE 'cannot_view_job' %] |
29 |
<div><i class="fa fa-exclamation error"></i>Insufficient permission to see this job.</div> |
27 |
<div><i class="fa fa-exclamation error"></i>Insufficient permission to see this job.</div> |
30 |
[% CASE %] |
28 |
[% CASE %] |
Lines 143-157
Link Here
|
143 |
|
141 |
|
144 |
<h2>Background jobs</h2> |
142 |
<h2>Background jobs</h2> |
145 |
|
143 |
|
146 |
<div class="dialog message"> |
|
|
147 |
<i class="fa fa-info"></i> |
148 |
[% IF pending_jobs.size > 0 %] |
149 |
There is [% pending_jobs.size | html %] pending jobs on the server: [% pending_jobs.join(', ') | html %]. |
150 |
[% ELSE %] |
151 |
There is no pending jobs on the server. |
152 |
[% END %] |
153 |
</div> |
154 |
|
155 |
[% IF jobs.count %] |
144 |
[% IF jobs.count %] |
156 |
<table id="table_background_jobs"> |
145 |
<table id="table_background_jobs"> |
157 |
<thead> |
146 |
<thead> |
158 |
- |
|
|