open-consul/ui-v2/app/templates/components/healthcheck-info.hbs
John Cowen 411fb2e25c ui: Move to angle brackets for ember components (#7321)
* Modify templates with codemods angle brackets

* ui: Fix up problem with intention filter action attribute

Co-authored-by: Kenia <19161242+kaxcode@users.noreply.github.com>
2020-05-12 17:14:05 +00:00

10 lines
436 B
Handlebars

{{#if (and (lt passing 1) (lt warning 1) (lt critical 1) )}}
<span title="No Healthchecks" class="zero">0</span>
{{else}}
<dl class="healthcheck-info">
<HealthcheckStatus @width={{passingWidth}} @name="passing" @value={{passing}} />
<HealthcheckStatus @width={{warningWidth}} @name="warning" @value={{warning}} />
<HealthcheckStatus @width={{criticalWidth}} @name="critical" @value={{critical}} />
</dl>
{{/if}}