2998deac50
This is mostly a direct application of the ember-angle-brackets-codemod. I manually restored newlines in multi-line component invocations, usually preserving file line length except for now-non-positional link-to @route. I needed to rename task to taskState in some cases to avoid Ember Concurrency naming conflicts.
34 lines
1.3 KiB
Handlebars
34 lines
1.3 KiB
Handlebars
<JobPage::Parts::Body @job={{job}}>
|
|
<JobPage::Parts::Error @errorMessage={{errorMessage}} @onDismiss={{action "clearErrorMessage"}} />
|
|
|
|
<JobPage::Parts::Title @job={{job}} @title={{job.trimmedName}} @handleError={{action "handleError"}} />
|
|
|
|
<div class="boxed-section job-stats">
|
|
<div class="boxed-section-body">
|
|
<span data-test-job-stat="type"><strong>Type:</strong> {{job.type}} | </span>
|
|
<span data-test-job-stat="priority"><strong>Priority:</strong> {{job.priority}} </span>
|
|
<span data-test-job-stat="parent">
|
|
<strong>Parent:</strong>
|
|
<LinkTo @route="jobs.job" @model={{job.parent}} @query={{hash jobNamespace=job.parent.namespace.name}}>
|
|
{{job.parent.name}}
|
|
</LinkTo>
|
|
</span>
|
|
{{#if (and job.namespace system.shouldShowNamespaces)}}
|
|
<span data-test-job-stat="namespace"> | <strong>Namespace:</strong> {{job.namespace.name}}</span>
|
|
{{/if}}
|
|
</div>
|
|
</div>
|
|
|
|
<JobPage::Parts::Summary @job={{job}} />
|
|
|
|
<JobPage::Parts::PlacementFailures @job={{job}} />
|
|
|
|
<JobPage::Parts::TaskGroups
|
|
@job={{job}}
|
|
@sortProperty={{sortProperty}}
|
|
@sortDescending={{sortDescending}}
|
|
@gotoTaskGroup={{gotoTaskGroup}} />
|
|
|
|
<JobPage::Parts::RecentAllocations @job={{job}} />
|
|
</JobPage::Parts::Body>
|