github.com/hernad/nomad@v1.6.112/ui/app/templates/jobs/job/evaluations.hbs (about) 1 {{! 2 Copyright (c) HashiCorp, Inc. 3 SPDX-License-Identifier: MPL-2.0 4 ~}} 5 6 {{page-title "Job " this.job.name " evaluations"}} 7 <JobSubnav @job={{this.job}} /> 8 <section class="section"> 9 {{#if this.sortedEvaluations.length}} 10 <ListTable 11 @source={{this.sortedEvaluations}} 12 @sortProperty={{this.sortProperty}} 13 @sortDescending={{this.sortDescending}} as |t|> 14 <t.head> 15 <th>ID</th> 16 <t.sort-by @prop="priority">Priority</t.sort-by> 17 <t.sort-by @prop="createTime">Created</t.sort-by> 18 <t.sort-by @prop="triggeredBy">Triggered By</t.sort-by> 19 <t.sort-by @prop="status">Status</t.sort-by> 20 <t.sort-by @prop="hasPlacementFailures">Placement Failures</t.sort-by> 21 </t.head> 22 <t.body as |row|> 23 <tr data-test-evaluation="{{row.model.shortId}}"> 24 <td data-test-id>{{row.model.shortId}}</td> 25 <td data-test-priority>{{row.model.priority}}</td> 26 <td data-test-create-time>{{format-month-ts row.model.createTime}}</td> 27 <td data-test-triggered-by>{{row.model.triggeredBy}}</td> 28 <td data-test-status>{{row.model.status}}</td> 29 <td data-test-blocked> 30 {{#if (eq row.model.status "blocked")}} 31 N/A - In Progress 32 {{else if row.model.hasPlacementFailures}} 33 True 34 {{else}} 35 False 36 {{/if}} 37 </td> 38 </tr> 39 </t.body> 40 </ListTable> 41 {{else}} 42 <div data-test-empty-evaluations-list class="empty-message"> 43 <h3 data-test-empty-evaluations-list-headline class="empty-message-headline">No Evaluations</h3> 44 <p class="empty-message-body">This is most likely due to garbage collection.</p> 45 </div> 46 {{/if}} 47 </section>