X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fbackground_job_history%2Flist.html;h=d83bb28167f5460f7d60c3c40a457ec89e26d009;hb=f4da9593b8f91ae5d57437ed124f9c9d859bc698;hp=83c8dae1d2431d2c9a5d8e20c28f74a028ca596a;hpb=f815dda94928d977655cd3d5d2fe1abc86242141;p=kivitendo-erp.git diff --git a/templates/webpages/background_job_history/list.html b/templates/webpages/background_job_history/list.html index 83c8dae1d..d83bb2816 100644 --- a/templates/webpages/background_job_history/list.html +++ b/templates/webpages/background_job_history/list.html @@ -1,61 +1,52 @@ [% USE HTML %][% USE L %][% USE LxERP %] - -
[% FORM.title %]
+

[% FORM.title %]

[%- INCLUDE 'common/flash.html' %] -
- [% IF !ENTRIES.size %] -

- [%- LxERP.t8('There are no entries in the background job history.') %] -

+[%- PROCESS 'background_job_history/_filter.html' filter=SELF.models.filtered.laundered %] - [%- ELSE %] - - - - - - - - - - +[% IF !ENTRIES.size %] +

+ [%- LxERP.t8('There are no entries in the background job history.') %] +

- - [%- FOREACH entry = ENTRIES %] - - - - - - - +[%- ELSE %] +
[%- LxERP.t8('Package name') %][%- LxERP.t8('Run at') %][%- LxERP.t8('Execution status') %][%- LxERP.t8('Result') %][%- LxERP.t8('Error') %]
- - [%- 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 %]
+ + + + + + + + + + + + [%- FOREACH entry = ENTRIES %] + + + + -
[% 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') %]
+ + [%- 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 %] -
- -

- [%- LxERP.t8('View background jobs') %] - | - [%- LxERP.t8('Task server control') %] -

-
- - +[% L.paginate_controls %]