{{#link-to "allocations.allocation" allocation class="is-primary"}} {{allocation.shortId}} {{/link-to}} {{moment-format allocation.modifyTime "MM/DD HH:mm:ss"}} {{allocation.name}} {{allocation.clientStatus}} {{#if (eq context "job")}} {{allocation.jobVersion}} {{#link-to "clients.client" allocation.node}}{{allocation.node.shortId}}{{/link-to}} {{else if (eq context "node")}} {{#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 allocation.stats.isPending}} ... {{else if allocation.stats.isRejected}} {{x-icon "warning" class="is-warning"}} {{else}}
{{allocation.percentCPU}}
{{/if}} {{#if allocation.stats.isPending}} ... {{else if allocation.stats.isRejected}} {{x-icon "warning" class="is-warning"}} {{else}}
{{allocation.percentMemory}}
{{/if}}