- [%- LxERP.t8('There are no entries in the background job history.') %]
-
+[%- PROCESS 'background_job_history/_filter.html' filter=SELF.models.filtered.laundered %]
- [%- ELSE %]
-
-
-
- [%- LxERP.t8('Package name') %] |
- [%- LxERP.t8('Run at') %] |
- [%- LxERP.t8('Execution status') %] |
- [%- LxERP.t8('Result') %] |
- [%- LxERP.t8('Error') %] |
-
-
+[% IF !ENTRIES.size %]
+
+ [%- LxERP.t8('There are no entries in the background job history.') %]
+
-
- [%- FOREACH entry = ENTRIES %]
-
-
-
- [%- HTML.escape(entry.package_name) %]
-
- |
- [%- HTML.escape(entry.run_at.to_lxoffice('precision' => 'second')) %] |
-
- [%- IF entry.status == 'success' %]
- [%- LxERP.t8('succeeded') %]
- [%- ELSIF entry.status == 'failure' %]
- [%- LxERP.t8('failed') %]
- [%- ELSE %]
- [%- HTML.escape(entry.status) %]
- [%- END %]
- |
- [%- HTML.escape(entry.result) %] |
- [% IF entry.error_col %][%- HTML.escape(L.truncate(entry.error_col)) %] [%- END %] |
-
+[%- ELSE %]
+
+
+
+ [% L.sortable_table_header('package_name') %] |
+ [% L.sortable_table_header('run_at') %] |
+ [% L.sortable_table_header('status') %] |
+ [% L.sortable_table_header('result') %] |
+ [% L.sortable_table_header('error') %] |
+
+
+
+
+ [%- FOREACH entry = ENTRIES %]
+
+
+
+ [%- HTML.escape(entry.package_name) %]
+
+ |
+ [%- HTML.escape(entry.run_at.to_lxoffice('precision' => 'second')) %] |
+
+ [%- IF entry.status == 'success' %]
+ [%- LxERP.t8('succeeded') %]
+ [%- ELSIF entry.status == 'failure' %]
+ [%- LxERP.t8('failed') %]
+ [%- ELSE %]
+ [%- HTML.escape(entry.status) %]
[%- END %]
- |
-
+
+ [%- HTML.escape(entry.result) %] |
+ [% IF entry.error_col %][%- HTML.escape(L.truncate(entry.error_col)) %] [%- END %] |
+
[%- END %]
+
+
+[%- END %]
-