{{#if (eq this.metric "cpu")}} CPU {{else if (eq this.metric "memory")}} Memory {{else}} {{this.metric}} {{/if}}

{{#if (eq this.metric "cpu")}} {{this.data.lastObject.used}} MHz / {{this.reservedAmount}} MHz Total {{else if (eq this.metric "memory")}} {{format-scheduled-bytes this.data.lastObject.used}} / {{this.reservedAmount}} MiB Total {{else}} {{this.data.lastObject.used}} / {{this.reservedAmount}} Total {{/if}}