2019-07-17 20:02:58 +00:00
|
|
|
{{title "Job " job.name " evaluations"}}
|
2020-07-09 16:37:00 +00:00
|
|
|
<JobSubnav @job={{job}} />
|
2018-07-25 22:19:43 +00:00
|
|
|
<section class="section">
|
2018-07-20 21:28:23 +00:00
|
|
|
{{#if sortedEvaluations.length}}
|
2020-06-01 19:03:56 +00:00
|
|
|
<ListTable
|
|
|
|
@source={{sortedEvaluations}}
|
|
|
|
@sortProperty={{sortProperty}}
|
|
|
|
@sortDescending={{sortDescending}} as |t|>
|
|
|
|
<t.head>
|
2018-07-20 21:28:23 +00:00
|
|
|
<th>ID</th>
|
2020-06-01 19:03:56 +00:00
|
|
|
<t.sort-by @prop="priority">Priority</t.sort-by>
|
|
|
|
<t.sort-by @prop="createTime">Created</t.sort-by>
|
|
|
|
<t.sort-by @prop="triggeredBy">Triggered By</t.sort-by>
|
|
|
|
<t.sort-by @prop="status">Status</t.sort-by>
|
|
|
|
<t.sort-by @prop="hasPlacementFailures">Placement Failures</t.sort-by>
|
|
|
|
</t.head>
|
|
|
|
<t.body as |row|>
|
2018-07-20 21:28:23 +00:00
|
|
|
<tr data-test-evaluation="{{row.model.shortId}}">
|
|
|
|
<td data-test-id>{{row.model.shortId}}</td>
|
|
|
|
<td data-test-priority>{{row.model.priority}}</td>
|
2019-08-22 13:11:24 +00:00
|
|
|
<td data-test-create-time>{{format-month-ts row.model.createTime}}</td>
|
2018-07-20 21:28:23 +00:00
|
|
|
<td data-test-triggered-by>{{row.model.triggeredBy}}</td>
|
|
|
|
<td data-test-status>{{row.model.status}}</td>
|
|
|
|
<td data-test-blocked>
|
|
|
|
{{#if (eq row.model.status "blocked")}}
|
|
|
|
N/A - In Progress
|
|
|
|
{{else if row.model.hasPlacementFailures}}
|
|
|
|
True
|
|
|
|
{{else}}
|
|
|
|
False
|
|
|
|
{{/if}}
|
|
|
|
</td>
|
|
|
|
</tr>
|
2020-06-01 19:03:56 +00:00
|
|
|
</t.body>
|
|
|
|
</ListTable>
|
2018-07-20 21:28:23 +00:00
|
|
|
{{else}}
|
|
|
|
<div data-test-empty-evaluations-list class="empty-message">
|
|
|
|
<h3 data-test-empty-evaluations-list-headline class="empty-message-headline">No Evaluations</h3>
|
|
|
|
<p class="empty-message-body">This is most likely due to garbage collection.</p>
|
2018-07-06 23:41:09 +00:00
|
|
|
</div>
|
2018-07-20 21:28:23 +00:00
|
|
|
{{/if}}
|
2018-07-25 22:19:43 +00:00
|
|
|
</section>
|