Skip to content

Commit

Permalink
Badge count links for versions
Browse files Browse the repository at this point in the history
  • Loading branch information
philrenaud committed Apr 11, 2023
1 parent 6a3c99c commit bb7fb54
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ui/app/components/job-status/panel/steady.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,10 @@
<ul>
{{#each-in this.versions as |version allocs|}}
<li>
<Hds::Badge @text={{concat "v" version}} />
<Hds::BadgeCount @text={{allocs.length}} @type="inverted" />
<LinkTo @route="jobs.job.allocations" @model={{@job}} @query={{hash version=(concat '[' version ']')}}>
<Hds::Badge @text={{concat "v" version}} />
</LinkTo>
<Hds::BadgeCount @text={{allocs.length}} @type="inverted" />
</li>
{{/each-in}}
</ul>
Expand Down

0 comments on commit bb7fb54

Please sign in to comment.