2020-10-14 08:03:39 +00:00
|
|
|
{{#if (eq this.healthCheck.check 'empty') }}
|
|
|
|
<dl class={{this.healthCheck.check}}>
|
|
|
|
<dt>
|
|
|
|
<Tooltip>
|
|
|
|
{{capitalize @type}} Checks
|
|
|
|
</Tooltip>
|
|
|
|
</dt>
|
|
|
|
<dd>No {{@type}} checks</dd>
|
|
|
|
</dl>
|
|
|
|
{{else}}
|
|
|
|
{{#if (eq this.healthCheck.count @items.length)}}
|
|
|
|
<dl class={{this.healthCheck.check}}>
|
|
|
|
<dt>
|
|
|
|
<Tooltip>
|
|
|
|
{{capitalize @type}} Checks
|
|
|
|
</Tooltip>
|
|
|
|
</dt>
|
|
|
|
<dd>All {{@type}} checks {{this.healthCheck.status}}</dd>
|
|
|
|
</dl>
|
|
|
|
{{else}}
|
|
|
|
<dl class={{this.healthCheck.check}}>
|
|
|
|
<dt>
|
|
|
|
<Tooltip>
|
|
|
|
{{capitalize @type}} Checks
|
|
|
|
</Tooltip>
|
|
|
|
</dt>
|
|
|
|
<dd>{{this.healthCheck.count}}/{{@items.length}} {{@type}} checks {{this.healthCheck.status}}</dd>
|
|
|
|
</dl>
|
|
|
|
{{/if}}
|
2021-02-11 11:36:36 +00:00
|
|
|
{{/if}}
|