mirror of https://github.com/status-im/consul.git
31 lines
871 B
Handlebars
31 lines
871 B
Handlebars
<Notice
|
|
class="topology-metrics-notice"
|
|
...attributes
|
|
@type={{@type}}
|
|
as |notice|>
|
|
<notice.Header>
|
|
<h3>
|
|
{{t (concat "components.consul.topology-metrics.notice." @for ".header")}}
|
|
</h3>
|
|
</notice.Header>
|
|
<notice.Body>
|
|
<p>
|
|
{{t (concat "components.consul.topology-metrics.notice." @for ".body")}}
|
|
</p>
|
|
</notice.Body>
|
|
{{#if @action}}
|
|
<notice.Footer>
|
|
<p>
|
|
{{#if @internal}}
|
|
<Action @href={{href-to (t (concat "components.consul.topology-metrics.notice." @for ".footer.URL"))}}>
|
|
{{t (concat "components.consul.topology-metrics.notice." @for ".footer.name")}}
|
|
</Action>
|
|
{{else}}
|
|
<Action @href={{@link}} @external={{true}}>
|
|
{{t (concat "components.consul.topology-metrics.notice." @for ".footer")}}
|
|
</Action>
|
|
{{/if}}
|
|
</p>
|
|
</notice.Footer>
|
|
{{/if}}
|
|
</Notice> |