Revision 4f82b4fe
Von Hans P. Schlaepfer vor fast 4 Jahren hinzugefügt
templates/webpages/background_job_history/show.html | ||
---|---|---|
2 | 2 |
[% USE L %] |
3 | 3 |
[% USE LxERP %] |
4 | 4 |
|
5 |
<h1>[% FORM.title %]</h1>
|
|
5 |
<h1>[% FORM.title %]</h1> |
|
6 | 6 |
|
7 |
[%- INCLUDE 'common/flash.html' %]
|
|
7 |
[% INCLUDE 'common/flash.html' %] |
|
8 | 8 |
|
9 |
<table id="background_job_history_details" class="background_job_details">
|
|
9 |
<table id="background_job_history_details" class="background_job_details"> |
|
10 | 10 |
<tbody> |
11 |
<tr class="listrow0"> |
|
12 |
<th>[%- LxERP.t8('Package name') %]</th> |
|
13 |
<td>[%- HTML.escape(SELF.history.package_name) %]</td> |
|
14 |
</tr> |
|
15 |
|
|
16 |
<tr class="listrow1"> |
|
17 |
<th>[%- LxERP.t8('Run at') %]</th> |
|
18 |
<td>[%- HTML.escape(SELF.history.run_at.to_lxoffice('precision' => 'second')) %]</td> |
|
19 |
</tr> |
|
20 |
|
|
21 |
<tr class="listrow0"> |
|
22 |
<th>[%- LxERP.t8('Execution status') %]</th> |
|
23 |
<td> |
|
24 |
[%- IF SELF.history.status == 'success' %] |
|
25 |
[%- LxERP.t8('succeeded') %] |
|
26 |
[%- ELSIF SELF.history.status == 'failed' %] |
|
27 |
[%- LxERP.t8('failed') %] |
|
28 |
[%- ELSE %] |
|
29 |
[%- HTML.escape(SELF.history.status) %] |
|
30 |
[%- END %] |
|
31 |
</td> |
|
32 |
</tr> |
|
33 |
|
|
34 |
<tr class="listrow1"> |
|
35 |
<th>[%- LxERP.t8('Result') %]</th> |
|
36 |
<td>[%- HTML.escape(SELF.history.result) %]</td> |
|
37 |
</tr> |
|
38 |
|
|
39 |
<tr class="listrow0"> |
|
40 |
<th>[%- LxERP.t8('Error') %]</th> |
|
41 |
<td>[% IF SELF.history.error_col %]<pre>[%- HTML.escape(SELF.history.error_col) %]</pre>[%- END %]</td> |
|
42 |
</tr> |
|
43 |
|
|
44 |
<tr class="listrow1"> |
|
45 |
<th>[%- LxERP.t8('Data') %]</th> |
|
46 |
<td>[% IF SELF.history.data %]<pre>[%- HTML.escape(SELF.history.data) %]</pre>[%- END %]</td> |
|
47 |
</tr> |
|
11 |
<tr> |
|
12 |
<th>[% LxERP.t8('Package name') %]</th> |
|
13 |
<td>[% HTML.escape(SELF.history.package_name) %]</td> |
|
14 |
</tr> |
|
15 |
<tr> |
|
16 |
<th>[% LxERP.t8('Run at') %]</th> |
|
17 |
<td>[% HTML.escape(SELF.history.run_at.to_lxoffice('precision' => 'second')) %]</td> |
|
18 |
</tr> |
|
19 |
<tr> |
|
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 |
<tr> |
|
32 |
<th>[% LxERP.t8('Result') %]</th> |
|
33 |
<td>[% HTML.escape(SELF.history.result) %]</td> |
|
34 |
</tr> |
|
35 |
<tr> |
|
36 |
<th>[% LxERP.t8('Error') %]</th> |
|
37 |
<td>[% IF SELF.history.error_col %]<pre>[% HTML.escape(SELF.history.error_col) %] |
|
38 |
</pre> |
|
39 |
[% END %]</td> |
|
40 |
</tr> |
|
41 |
<tr> |
|
42 |
<th>[% LxERP.t8('Data') %]</th> |
|
43 |
<td>[% IF SELF.history.data %]<pre>[% HTML.escape(SELF.history.data) %] |
|
44 |
</pre> |
|
45 |
[% END %]</td> |
|
46 |
</tr> |
|
48 | 47 |
</tbody> |
49 | 48 |
</table> |
Auch abrufbar als: Unified diff
Neues Design 2019 Standard-Code templates/webpages/background_job_history/show.html