Add help icon to import page

This commit is contained in:
Daniel James Smith 2024-01-15 23:01:22 +01:00
parent 36b2d8b6b2
commit 51b0518b5b
No known key found for this signature in database
GPG Key ID: DA2E2EC600E1289B
4 changed files with 35 additions and 1 deletions

View File

@ -2670,6 +2670,12 @@
"learnAboutImportOptions": {
"message": "Learn about your import options"
},
"learnAboutCollections": {
"message": "Learn about collections"
},
"learnAboutFolders": {
"message": "Learn about folders"
},
"selectImportFolder": {
"message": "Select a folder"
},

View File

@ -2500,6 +2500,12 @@
"learnAboutImportOptions": {
"message": "Learn about your import options"
},
"learnAboutCollections": {
"message": "Learn about collections"
},
"learnAboutFolders": {
"message": "Learn about folders"
},
"selectImportFolder": {
"message": "Select a folder"
},

View File

@ -1398,6 +1398,12 @@
"learnAboutImportOptions": {
"message": "Learn about your import options"
},
"learnAboutCollections": {
"message": "Learn about collections"
},
"learnAboutFolders": {
"message": "Learn about folders"
},
"selectImportFolder": {
"message": "Select a folder"
},

View File

@ -31,7 +31,23 @@
</bit-form-field>
<bit-form-field>
<bit-label>{{ organizationId ? ("collection" | i18n) : ("folder" | i18n) }}</bit-label>
<bit-label
>{{ organizationId ? ("collection" | i18n) : ("folder" | i18n) }}
<a
target="_blank"
rel="noopener"
appA11yTitle="{{
organizationId ? ('learnAboutCollections' | i18n) : ('learnAboutFolders' | i18n)
}}"
href="{{
organizationId
? 'https://bitwarden.com/help/about-collections'
: 'https://bitwarden.com/help/folders'
}}"
>
<i class="bwi bwi-question-circle" aria-hidden="true"></i>
</a>
</bit-label>
<bit-select formControlName="targetSelector">
<ng-container *ngIf="!organizationId">
<bit-option [value]="null" label="-- {{ 'selectImportFolder' | i18n }} --" />