open-nomad/ui/app/templates/components/job-page/periodic-child.hbs

39 lines
1.4 KiB
Handlebars

<JobPage::Parts::Body @job={{this.job}}>
<JobPage::Parts::Error @errorMessage={{this.errorMessage}} @onDismiss={{action "clearErrorMessage"}} />
<JobPage::Parts::Title @job={{this.job}} @title={{this.job.trimmedName}} @handleError={{action "handleError"}} />
<JobPage::Parts::StatsBox @job={{this.job}}>
<:before-namespace>
<span class="pair" data-test-job-stat="parent">
<span class="term">Parent</span>
<LinkTo @route="jobs.job" @model={{this.job.parent}} @query={{hash namespace=this.job.parent.namespace.name}}>
{{this.job.parent.name}}
</LinkTo>
</span>
</:before-namespace>
</JobPage::Parts::StatsBox>
{{#if this.job.hasClientStatus}}
<JobPage::Parts::JobClientStatusSummary
@job={{this.job}}
@nodes={{this.nodes}}
@forceCollapsed={{not this.shouldDisplayClientInformation}}
@gotoClients={{this.gotoClients}} />
{{/if}}
<JobPage::Parts::Summary @job={{this.job}} @forceCollapsed={{this.shouldDisplayClientInformation}} />
<JobPage::Parts::PlacementFailures @job={{this.job}} />
<JobPage::Parts::TaskGroups
@job={{this.job}}
@sortProperty={{this.sortProperty}}
@sortDescending={{this.sortDescending}}
@gotoTaskGroup={{this.gotoTaskGroup}} />
<JobPage::Parts::RecentAllocations @job={{this.job}} />
<JobPage::Parts::Meta @job={{this.job}} />
</JobPage::Parts::Body>