open-nomad/ui/app/components/service-status-indicator.hbs
Phil Renaud 99185e2d8f
[ui, compliance] Remove the newline after .hbs copyright headers (#16861)
* Remove the newline after .hbs copyright headers

* Trying with the whitespace control char
2023-04-14 13:08:13 -04:00

16 lines
397 B
Handlebars

{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
~}}
<span
class="service-status-indicator status-{{@check.Status}} tooltip is-right-aligned"
aria-label="{{@check.Status}} at {{format-ts @check.Timestamp}}"
>
{{#if (eq @check.Status "failure")}}
&times;
{{/if}}
<span class="timestamp"><span>{{format-ts @check.Timestamp timeOnly=true}}</span></span>
</span>