diff --git a/.changelog/24622.txt b/.changelog/24622.txt new file mode 100644 index 00000000000..f061d24f21c --- /dev/null +++ b/.changelog/24622.txt @@ -0,0 +1,3 @@ +```release-note:improvement +ui: Added possibility to supply HCL variable values on job submission +``` diff --git a/ui/app/templates/components/job-editor/edit.hbs b/ui/app/templates/components/job-editor/edit.hbs index 44413c6f532..11c6871bd5b 100644 --- a/ui/app/templates/components/job-editor/edit.hbs +++ b/ui/app/templates/components/job-editor/edit.hbs @@ -70,10 +70,14 @@ }} > - {{#if (eq @data.view "job-spec")}} + {{#if (or (eq @data.view "job-spec") @data.job.isNew)}}
+ {{#if @data.job.isNew}} + HCL Variable Values + {{else}} Edit HCL Variable Values + {{/if}}