{{#if allocation.unhealthyDrivers.length}} {{x-icon "warning" class="is-warning"}} {{/if}} {{#if allocation.nextAllocation}} {{x-icon "history" class="is-faded"}} {{/if}} {{#if allocation.wasPreempted}} {{x-icon "boot" class="is-faded"}} {{/if}} {{#link-to "allocations.allocation" allocation class="is-primary"}} {{allocation.shortId}} {{/link-to}} {{#if (eq context "job")}} {{#link-to "jobs.job.task-group" allocation.job allocation.taskGroupName (query-params jobNamespace=allocation.job.namespace.id)}} {{allocation.taskGroupName}} {{/link-to}} {{/if}} {{format-month-ts allocation.createTime}} {{moment-from-now allocation.modifyTime}} {{allocation.clientStatus}} {{#if (eq context "volume")}} {{#link-to "clients.client" allocation.node}}{{allocation.node.shortId}}{{/link-to}} {{/if}} {{#if (or (eq context "taskGroup") (eq context "job"))}} {{allocation.jobVersion}} {{#link-to "clients.client" allocation.node}}{{allocation.node.shortId}}{{/link-to}} {{else if (or (eq context "node") (eq context "volume"))}} {{#if (or allocation.job.isPending allocation.job.isReloading)}} ... {{else}} {{#link-to "jobs.job" allocation.job (query-params jobNamespace=allocation.job.namespace.id) data-test-job}}{{allocation.job.name}}{{/link-to}} / {{allocation.taskGroup.name}} {{/if}} {{allocation.jobVersion}} {{/if}} {{#if (not (eq context "volume"))}} {{if allocation.taskGroup.volumes.length "Yes"}} {{/if}} {{allocation-stat metric="cpu" allocation=allocation statsTracker=stats isLoading=fetchStats.isRunning error=statsError}} {{allocation-stat metric="memory" allocation=allocation statsTracker=stats isLoading=fetchStats.isRunning error=statsError}}