X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/706d20f46c3e638de6ffca27e0fbdd48394b24ab..fbcd5580:/templates/webpages/background_job/form.html 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 %]

- -