51508987c4
* Update MMMM Do yyyy to MMMM do yyyy per date-fns format docs * Add changelog
16 lines
470 B
Handlebars
16 lines
470 B
Handlebars
{{#if (and expirationDate (is-after (now interval=1000) expirationDate))}}
|
|
<div class="token-expire-warning">
|
|
<AlertBanner
|
|
@type="danger"
|
|
@message="Your auth token expired on
|
|
{{date-format expirationDate "MMMM do yyyy, h:mm:ss a"}}
|
|
. You will need to re-authenticate."
|
|
>
|
|
<LinkTo @route="vault.cluster.logout" class="button link">
|
|
Reauthenticate
|
|
</LinkTo>
|
|
</AlertBanner>
|
|
</div>
|
|
{{else}}
|
|
{{yield}}
|
|
{{/if}} |