From 8241a02b7db9da56b8b16b4bba07ca6586d2ef29 Mon Sep 17 00:00:00 2001 From: Buck Doyle Date: Wed, 22 Jul 2020 11:30:58 -0500 Subject: [PATCH] Fix layout of title component elements (#8495) The spacing has been broken for job types that use this yield (parameterised and periodic) since I added the exec button to this template. This could be further refined to allow a more logical grouping of elements where buttons and tags are separate. --- CHANGELOG.md | 1 + ui/app/templates/components/job-page/parts/title.hbs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0040985308f1..da9c4d84d3eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ BUG FIXES: * scheduler: Fixed a bug in Nomad Enterprise where canaries were not being created during multi-region deployments [[GH-8456](https://github.com/hashicorp/nomad/pull/8456)] * ui: Fixed stale namespaces after changing acl tokens [[GH-8413](https://github.com/hashicorp/nomad/issues/8413)] * ui: Fixed inclusion of allocation when opening exec window [[GH-8460](https://github.com/hashicorp/nomad/pull/8460)] + * ui: Fixed layout of parameterized/periodic job title elemetns [[GH-8495](https://github.com/hashicorp/nomad/pull/8495)] * ui: Fixed order of column headers in client allocations table [[GH-8409](https://github.com/hashicorp/nomad/pull/8409)] * ui: Fixed missing namespace query param after changing acl tokens [[GH-8413](https://github.com/hashicorp/nomad/issues/8413)] * ui: Fixed exec to derive group and task when possible from allocation [[GH-8463](https://github.com/hashicorp/nomad/pull/8463)] diff --git a/ui/app/templates/components/job-page/parts/title.hbs b/ui/app/templates/components/job-page/parts/title.hbs index 8d8c5701071e..b42a4912d961 100644 --- a/ui/app/templates/components/job-page/parts/title.hbs +++ b/ui/app/templates/components/job-page/parts/title.hbs @@ -2,8 +2,8 @@
{{or this.title this.job.name}} {{this.job.status}} + {{yield}}
- {{yield}}
{{#if (not (eq this.job.status "dead"))}}