Skip to content

Commit

Permalink
Fix layout of title component elements
Browse files Browse the repository at this point in the history
The spacing has been broken for job types that use this yield
(parameterised and periodic) since I added the exec button
to this template. The grouping here may be subpar; another
approach would be to yield contextual components (in the
absence of named blocks) so invocations can specify which
grouping to add to.
  • Loading branch information
backspace committed Jul 22, 2020
1 parent e8c0deb commit 7fa7908
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/app/templates/components/job-page/parts/title.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<div>
{{or this.title this.job.name}}
<span class="bumper-left tag {{this.job.statusClass}}" data-test-job-status>{{this.job.status}}</span>
{{yield}}
</div>
{{yield}}
<div>
{{#if (not (eq this.job.status "dead"))}}
<div class="two-step-button">
Expand Down

0 comments on commit 7fa7908

Please sign in to comment.