08cf0f18a6
* Add MeshServiceInstances property to node model * Use MeshServiceInstances property * Make sure we show the 'No * checks' if Checks.length is zero
30 lines
800 B
Handlebars
30 lines
800 B
Handlebars
{{#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}}
|
|
{{/if}} |