github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/ui/app/templates/components/job-row.hbs (about)

     1  <td data-test-job-name><LinkTo @route="jobs.job" @model={{this.job.plainId}} class="is-primary">{{this.job.name}}</LinkTo></td>
     2  {{#if (eq @context "child")}}
     3    <td data-test-job-submit-time>{{format-month-ts this.job.submitTime}}</td>
     4  {{/if}}
     5  <td data-test-job-status>
     6    <span class="tag {{this.job.statusClass}}">{{this.job.status}}</span>
     7  </td>
     8  <td data-test-job-type>{{this.job.displayType}}</td>
     9  <td data-test-job-priority>{{this.job.priority}}</td>
    10  <td data-test-job-task-groups>
    11    {{#if this.job.taskGroupCount}}
    12      {{this.job.taskGroupCount}}
    13    {{else}}
    14      --
    15    {{/if}}
    16  </td>
    17  <td data-test-job-allocations>
    18    <div class="inline-chart">
    19      {{#if this.job.hasChildren}}
    20        {{#if (gt this.job.totalChildren 0)}}
    21          <ChildrenStatusBar @job={{this.job}} @isNarrow={{true}} />
    22        {{else}}
    23          <em class="is-faded">No Children</em>
    24        {{/if}}
    25      {{else}}
    26        <AllocationStatusBar @allocationContainer={{this.job}} @isNarrow={{true}} />
    27      {{/if}}
    28    </div>
    29  </td>