mirror of https://github.com/hashicorp/consul
24 lines
1.6 KiB
Handlebars
24 lines
1.6 KiB
Handlebars
{{!
|
|
Copyright (c) HashiCorp, Inc.
|
|
SPDX-License-Identifier: BUSL-1.1
|
|
}}
|
|
{{#if (and this.hcpLinkStatus.shouldDisplayBanner this.notLinked)}}
|
|
<Hds::Alert @type="page" @color="highlight" @onDismiss={{this.onDismiss}} class="link-to-hcp-banner"
|
|
data-test-link-to-hcp-banner as |A|>
|
|
<A.Title data-test-link-to-hcp-banner-title>{{t "components.link-to-hcp-banner.title"}}</A.Title>
|
|
<A.Description data-test-link-to-hcp-banner-description>{{t "components.link-to-hcp-banner.description"
|
|
isEnterprise=this.env.isEnterprise}}
|
|
</A.Description>
|
|
<A.Button @text={{t "components.link-to-hcp-banner.clusterLinkButton"}} @color="secondary" {{on "click"
|
|
this.onClusterLink}}
|
|
data-test-link-to-hcp-banner-button/>
|
|
<A.Link::Standalone @color="secondary" @icon="docs-link" @iconPosition="trailing" @text={{t
|
|
"components.link-to-hcp-banner.viewDocumentation"}}
|
|
@href="https://developer.hashicorp.com/hcp/docs/consul/self-managed"
|
|
data-test-link-to-hcp-banner-view-documentation/>
|
|
<A.Link::Standalone @color="secondary" @icon="docs-link" @iconPosition="trailing"
|
|
@text={{t "components.link-to-hcp-banner.consulCentralDocumentation"}}
|
|
@href="https://developer.hashicorp.com/hcp/docs/consul/concepts/consul-central"
|
|
data-test-link-to-hcp-banner-consul-central-documentation/>
|
|
</Hds::Alert>
|
|
{{/if}} |