open-vault/ui/app/templates/vault.hbs
Noelle Daley 88a0e432e8
Ui/add changelog link (#9216)
* link to changelog in version

* link to specific changelog version number

* update CHANGELOG headings to match expected format

* clean up and add tests

* handle errors

* use https

* update test url
2020-06-15 14:53:48 -07:00

40 lines
1.2 KiB
Handlebars

{{outlet}}
<footer class="footer has-text-grey has-text-centered">
<span class="is-inline-block">
<Icon
@glyph="hashicorp"
@size="l"
aria-hidden="true"
class="has-text-grey-light" />
&copy; {{date-format (now) "YYYY"}} HashiCorp
</span>
<span>
<a href={{changelog-url-for activeCluster.leaderNode.version}}
class="link has-text-grey">
Vault {{activeCluster.leaderNode.version}}
</a>
</span>
{{#if (is-version "OSS")}}
<span>
<a
href="https://hashicorp.com/products/vault/trial?source=vaultui"
class="link has-text-grey"
>
Upgrade to Vault Enterprise
</a>
</span>
{{/if}}
<span>
<a class="has-text-grey" target="_blank" rel="noreferrer noopener" href="https://www.vaultproject.io/docs/index.html">Documentation</a>
</span>
</footer>
{{#if (eq env "development") }}
<div class="env-banner level development">
<div class="level-item notification">
<Icon @glyph="git-branch" /><Icon @glyph="edit" /> Local development <Icon @glyph="edit" /><Icon @glyph="git-branch" />
</div>
</div>
{{/if}}
<div id="modal-wormhole"></div>