X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fbackground_job_history%2Flist.html;h=d83bb28167f5460f7d60c3c40a457ec89e26d009;hb=51aa7d3ccc53449c3582bae461d567ff2203e964;hp=bf732d44eed0f4bd1fb7fbf6f72474a6fe826839;hpb=0499c65ed3ba3c3ac87b5aab9a60c3cc33be0796;p=kivitendo-erp.git diff --git a/templates/webpages/background_job_history/list.html b/templates/webpages/background_job_history/list.html index bf732d44e..d83bb2816 100644 --- a/templates/webpages/background_job_history/list.html +++ b/templates/webpages/background_job_history/list.html @@ -1,63 +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.') %] -

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

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

+ +[%- 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') %]
- - [%- 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 %] - [% L.paginate_controls %] - -
- -

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

-
- - +[% L.paginate_controls %]