Files
vault/ui/app/components/app-footer.hbs
Chelsea Shaw cb217388d4 UI: handle reduced disclosure endpoints (#24262)
* Create app-footer component with tests

* glimmerize vault route + controller

* Add dev mode badge to new footer

* Fix version on dashboard

* update app-footer tests

* update version title component

* Handle case for chroot namespace fail on health check

* cleanup

* fix ent tests

* add missing headers

* extra version fetch on login success, clear version on logout and seal

* Add coverage for clearing version on seal

* rename isOSS to isCommunity

* remove is-version helper

* test version in footer on unseal flow

* fix enterprise test

* VAULT-21399 test coverage

* VAULT-21400 test coverage
2023-12-04 14:28:16 -06:00

31 lines
935 B
Handlebars

{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: BUSL-1.1
~}}
<Hds::AppFooter as |AF|>
<AF.ExtraBefore>
{{#if this.isDevelopment}}
<div class="env-banner">
<div class="level-item notification">
<Icon @name="git-branch" /><Icon @name="pencil-tool" />
Local development
<Icon @name="pencil-tool" /><Icon @name="git-branch" />
</div>
</div>
{{/if}}
</AF.ExtraBefore>
<AF.Link @href={{changelog-url-for this.version.version}} data-test-footer-version>
Vault
{{this.version.version}}
</AF.Link>
{{#if this.version.isCommunity}}
<AF.Link @href="https://hashicorp.com/products/vault/trial?source=vaultui" data-test-footer-upgrade-link>
Upgrade to Vault Enterprise
</AF.Link>
{{/if}}
<AF.Link @href={{doc-link "/vault"}} data-test-footer-documentation-link>
Documentation
</AF.Link>
<AF.LegalLinks />
</Hds::AppFooter>