Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision c5148ccb

Von Hans P. Schlaepfer vor etwa 4 Jahren hinzugefügt

  • ID c5148ccb12472c3f21e419167eaa2a91e53208e4
  • Vorgänger d648863f
  • Nachfolger 5a8fa8c2

Neues Design 2019 Standard-Code templates/webpages/background_job_history/show.html

Unterschiede anzeigen:

templates/webpages/background_job_history/show.html
[% USE L %]
[% USE LxERP %]
<h1>[% FORM.title %]</h1>
<h1>[% FORM.title %]</h1>
[%- INCLUDE 'common/flash.html' %]
[% INCLUDE 'common/flash.html' %]
<table id="background_job_history_details" class="background_job_details">
<table id="background_job_history_details" class="background_job_details">
<tbody>
<tr class="listrow0">
<th>[%- LxERP.t8('Package name') %]</th>
<td>[%- HTML.escape(SELF.history.package_name) %]</td>
</tr>
<tr class="listrow1">
<th>[%- LxERP.t8('Run at') %]</th>
<td>[%- HTML.escape(SELF.history.run_at.to_lxoffice('precision' => 'second')) %]</td>
</tr>
<tr class="listrow0">
<th>[%- LxERP.t8('Execution status') %]</th>
<td>
[%- IF SELF.history.status == 'success' %]
[%- LxERP.t8('succeeded') %]
[%- ELSIF SELF.history.status == 'failed' %]
[%- LxERP.t8('failed') %]
[%- ELSE %]
[%- HTML.escape(SELF.history.status) %]
[%- END %]
</td>
</tr>
<tr class="listrow1">
<th>[%- LxERP.t8('Result') %]</th>
<td>[%- HTML.escape(SELF.history.result) %]</td>
</tr>
<tr class="listrow0">
<th>[%- LxERP.t8('Error') %]</th>
<td>[% IF SELF.history.error_col %]<pre>[%- HTML.escape(SELF.history.error_col) %]</pre>[%- END %]</td>
</tr>
<tr class="listrow1">
<th>[%- LxERP.t8('Data') %]</th>
<td>[% IF SELF.history.data %]<pre>[%- HTML.escape(SELF.history.data) %]</pre>[%- END %]</td>
</tr>
<tr>
<th>[% LxERP.t8('Package name') %]</th>
<td>[% HTML.escape(SELF.history.package_name) %]</td>
</tr>
<tr>
<th>[% LxERP.t8('Run at') %]</th>
<td>[% HTML.escape(SELF.history.run_at.to_lxoffice('precision' => 'second')) %]</td>
</tr>
<tr>
<th>[% LxERP.t8('Execution status') %]</th>
<td>
[% IF SELF.history.status == 'success' %]
[% LxERP.t8('succeeded') %]
[% ELSIF SELF.history.status == 'failed' %]
[% LxERP.t8('failed') %]
[% ELSE %]
[% HTML.escape(SELF.history.status) %]
[% END %]
</td>
</tr>
<tr>
<th>[% LxERP.t8('Result') %]</th>
<td>[% HTML.escape(SELF.history.result) %]</td>
</tr>
<tr>
<th>[% LxERP.t8('Error') %]</th>
<td>[% IF SELF.history.error_col %]<pre>[% HTML.escape(SELF.history.error_col) %]
</pre>
[% END %]</td>
</tr>
<tr>
<th>[% LxERP.t8('Data') %]</th>
<td>[% IF SELF.history.data %]<pre>[% HTML.escape(SELF.history.data) %]
</pre>
[% END %]</td>
</tr>
</tbody>
</table>

Auch abrufbar als: Unified diff