a2f3ab6f381691ce3f870d3feba7c20ed9bb7212
[kivitendo-erp.git] / templates / webpages / background_job_history / show.html
1 [% USE HTML %][% USE L %][% USE LxERP %]
2
3  <h1>[% FORM.title %]</h1>
4
5 [%- INCLUDE 'common/flash.html' %]
6
7  <table id="background_job_history_details" class="background_job_details">
8   <tbody>
9    <tr class="listrow0">
10     <th>[%- LxERP.t8('Package name') %]</th>
11     <td>[%- HTML.escape(SELF.history.package_name) %]</td>
12    </tr>
13
14    <tr class="listrow1">
15     <th>[%- LxERP.t8('Run at') %]</th>
16     <td>[%- HTML.escape(SELF.history.run_at.to_lxoffice('precision' => 'second')) %]</td>
17    </tr>
18
19    <tr class="listrow0">
20     <th>[%- LxERP.t8('Execution status') %]</th>
21     <td>
22      [%- IF SELF.history.status == 'success' %]
23      [%- LxERP.t8('succeeded') %]
24      [%- ELSIF SELF.history.status == 'failed' %]
25      [%- LxERP.t8('failed') %]
26      [%- ELSE %]
27      [%- HTML.escape(SELF.history.status) %]
28      [%- END %]
29     </td>
30    </tr>
31
32    <tr class="listrow1">
33     <th>[%- LxERP.t8('Result') %]</th>
34     <td>[%- HTML.escape(SELF.history.result) %]</td>
35    </tr>
36
37    <tr class="listrow0">
38     <th>[%- LxERP.t8('Error') %]</th>
39     <td>[% IF SELF.history.error_col %]<pre>[%- HTML.escape(SELF.history.error_col) %]</pre>[%- END %]</td>
40    </tr>
41
42    <tr class="listrow1">
43     <th>[%- LxERP.t8('Data') %]</th>
44     <td>[% IF SELF.history.data %]<pre>[%- HTML.escape(SELF.history.data) %]</pre>[%- END %]</td>
45    </tr>
46   </tbody>
47  </table>