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