{{#if (not task.driverStatus.healthy)}} {{x-icon "warning" class="is-warning"}} {{/if}} {{#link-to "allocations.allocation.task" task.allocation task class="is-primary"}} {{task.name}} {{#if task.isConnectProxy}} {{proxy-tag class="bumper-left"}} {{/if}} {{/link-to}} {{task.state}} {{#if task.events.lastObject.message}} {{task.events.lastObject.message}} {{else}} No message {{/if}} {{format-ts task.events.lastObject.time}} {{#if task.isRunning}} {{#if (and (not cpu) fetchStats.isRunning)}} ... {{else if statsError}} {{x-icon "warning" class="is-warning"}} {{else}} {{/if}} {{/if}} {{#if task.isRunning}} {{#if (and (not memory) fetchStats.isRunning)}} ... {{else if statsError}} {{x-icon "warning" class="is-warning"}} {{else}} {{/if}} {{/if}}