X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fbackground_job%2Fform.html;h=81bf0e70791216ac56ab623d1dc23c76acec266c;hb=6acdad62e7a4e11c8929e7ab00ce1bac511ed883;hp=cbd43af806ec10269e5e368adabade3d7efda5e4;hpb=36b5dead243946c4447e9a854ebd67e613853f88;p=kivitendo-erp.git
diff --git a/templates/webpages/background_job/form.html b/templates/webpages/background_job/form.html
index cbd43af80..81bf0e707 100644
--- a/templates/webpages/background_job/form.html
+++ b/templates/webpages/background_job/form.html
@@ -1,5 +1,4 @@
[% USE HTML %][% USE L %][% USE LxERP %]
-
[% FORM.title %]
@@ -14,13 +13,18 @@
[%- LxERP.t8('Execution type') %] |
- [% L.select_tag("background_job.type", L.options_for_select([ [ 'once', LxERP.t8('one-time execution') ], [ 'interval', LxERP.t8('repeated execution') ] ],
- 'default' => SELF.background_job.type)) %] |
+
+ [% L.select_tag('background_job.type', [
+ [ 'once', LxERP.t8('one-time execution') ],
+ [ 'interval', LxERP.t8('repeated execution') ]
+ ],
+ 'default' = SELF.background_job.type) %]
+ |
[%- LxERP.t8('Package name') %] |
- [% L.input_tag("background_job.package_name", SELF.background_job.package_name, 'size' => 40) %] |
+ [% L.select_tag("background_job.package_name", JOB_CLASSES, 'default' => SELF.background_job.package_name) %] |
@@ -47,7 +51,8 @@
[% L.submit_tag("action_save_and_execute", LxERP.t8("Save and execute")) %]
[%- END %]
[%- LxERP.t8('Abort') %]
+ [%- IF SELF.background_job.id %]
+ [%- LxERP.t8('Show history') %]
+ [%- END %]
-
-