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