mirror of
https://github.com/bitwarden/clients.git
synced 2026-02-08 01:44:08 +08:00
[PM-8368] AnonLayout Footer Updates (#9397)
* add hostname to footer via env service * add logic for showing/hiding environment * add docs * add web env-selector * refactor to use one slot for env-selector * add storybook docs * add env hostname to stories * remove sample route
This commit is contained in:
@@ -22,7 +22,13 @@
|
||||
<ng-content select="[slot=secondary]"></ng-content>
|
||||
</div>
|
||||
<footer class="tw-text-center">
|
||||
<div>© {{ year }} Bitwarden Inc.</div>
|
||||
<div>{{ version }}</div>
|
||||
<div *ngIf="showReadonlyHostname">{{ "accessing" | i18n }} {{ hostname }}</div>
|
||||
<ng-container *ngIf="!showReadonlyHostname">
|
||||
<ng-content select="[slot=environment-selector]"></ng-content>
|
||||
</ng-container>
|
||||
<ng-container *ngIf="showYearAndVersion">
|
||||
<div>© {{ year }} Bitwarden Inc.</div>
|
||||
<div>{{ version }}</div>
|
||||
</ng-container>
|
||||
</footer>
|
||||
</main>
|
||||
|
||||
Reference in New Issue
Block a user