]> wagnertech.de Git - mfinanz.git/blobdiff - templates/webpages/background_job_history/show.html
Controller zur Verwaltung von BackgroundJobHistory-Einträgen
[mfinanz.git] / templates / webpages / background_job_history / show.html
diff --git a/templates/webpages/background_job_history/show.html b/templates/webpages/background_job_history/show.html
new file mode 100644 (file)
index 0000000..e8054d3
--- /dev/null
@@ -0,0 +1,54 @@
+[% USE HTML %][% USE L %][% USE LxERP %]
+<body>
+
+ <div class="listtop">[% FORM.title %]</div>
+
+[%- INCLUDE 'common/flash.html' %]
+
+ <table id="background_job_history_details" class="background_job_history_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>
+  </tbody>
+ </table>
+
+ <p>
+  <a href="[% back_to %]">[%- LxERP.t8('Back') %]</a>
+ </p>
+</body>
+</html>