2ec864c67e
Previously, the router service was not available to components. Now that it is, we no longer need to prop-drill this linking action.
28 lines
964 B
Handlebars
28 lines
964 B
Handlebars
<JobPage @job={{@job}} as |jobPage|>
|
|
<jobPage.ui.Body>
|
|
<jobPage.ui.Error />
|
|
<jobPage.ui.Title @title={{@job.trimmedName}} />
|
|
<jobPage.ui.StatsBox>
|
|
<:before-namespace>
|
|
<span class="pair" data-test-job-stat="parent">
|
|
<span class="term">
|
|
Parent
|
|
</span>
|
|
<LinkTo
|
|
@route="jobs.job"
|
|
@model={{@job.parent}}
|
|
@query={{hash namespace=@job.parent.namespace.name}}
|
|
>
|
|
{{this.job.parent.name}}
|
|
</LinkTo>
|
|
</span>
|
|
</:before-namespace>
|
|
</jobPage.ui.StatsBox>
|
|
<jobPage.ui.JobClientStatusSummary @gotoClients={{@gotoClients}} />
|
|
<jobPage.ui.Summary @forceCollapsed={{@job.hasClientStatus}} />
|
|
<jobPage.ui.PlacementFailures />
|
|
<jobPage.ui.TaskGroups @sortProperty={{@sortProperty}} @sortDescending={{@sortDescending}} />
|
|
<jobPage.ui.RecentAllocations />
|
|
<jobPage.ui.Meta />
|
|
</jobPage.ui.Body>
|
|
</JobPage> |