diff --git a/ui/app/styles/components/timeline.scss b/ui/app/styles/components/timeline.scss index 89908d666..50536c605 100644 --- a/ui/app/styles/components/timeline.scss +++ b/ui/app/styles/components/timeline.scss @@ -138,3 +138,12 @@ } } } + +.versions-page-header { + z-index: $z-base + 1; + margin-bottom: 2rem; + + .hds-page-header__main { + flex-direction: unset; + } +} diff --git a/ui/app/templates/jobs/job/versions.hbs b/ui/app/templates/jobs/job/versions.hbs index 044fc9ab1..1e89cc653 100644 --- a/ui/app/templates/jobs/job/versions.hbs +++ b/ui/app/templates/jobs/job/versions.hbs @@ -7,40 +7,38 @@
- + - - - + + + + previous version + + {{#each this.optionsDiff key="label" as |option|}} - previous version + {{on "change" (action this.setDiffVersion + option.value + )}} + @value={{option.label}} + checked={{eq this.diffVersion option.value}} + data-test-dropdown-option={{option.label}} + > + {{option.label}} - {{#each this.optionsDiff key="label" as |option|}} - - {{option.label}} - - {{else}} - - No versions - - {{/each}} - - + {{else}} + + No versions + + {{/each}} +