mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-22 07:01:09 +02:00
24 lines
753 B
Handlebars
24 lines
753 B
Handlebars
{{!
|
|
Copyright (c) HashiCorp, Inc.
|
|
SPDX-License-Identifier: BUSL-1.1
|
|
}}
|
|
|
|
{{#if (and this.state this.version.isEnterprise)}}
|
|
<Hds::Alert @type="page" @color={{if (eq this.state "connected") "neutral" "warning"}} as |A|>
|
|
<A.Title data-test-link-status>
|
|
{{#if (eq this.state "connected")}}
|
|
This self-managed Vault is linked to
|
|
<Hds::Link::Inline @href="https://portal.cloud.hashicorp.com/sign-in">HCP.</Hds::Link::Inline>
|
|
{{else}}
|
|
Error connecting to HCP
|
|
{{/if}}
|
|
</A.Title>
|
|
{{#if this.error}}
|
|
<A.Description data-test-link-error>
|
|
Since
|
|
{{this.timestamp}},
|
|
{{this.error}}. Check the logs for more information.
|
|
</A.Description>
|
|
{{/if}}
|
|
</Hds::Alert>
|
|
{{/if}} |