1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 18:23:31 +00:00

replace icon buttons with text buttons (#13615)

This commit is contained in:
Brandon Treston
2025-02-28 12:03:54 -05:00
committed by GitHub
parent 7ba8dd98e6
commit 24410cd672
2 changed files with 15 additions and 10 deletions

View File

@@ -245,7 +245,7 @@
>
{{ "cancel" | i18n }}
</button>
<div class="tw-ml-auto">
<div class="tw-flex tw-gap-2 tw-ml-auto">
<button
*ngIf="editMode && isRevoked"
type="button"
@@ -255,7 +255,7 @@
[bitAction]="restore"
[disabled]="loading"
>
{{ "restoreAccess" | i18n }}
{{ "restore" | i18n }}
</button>
<button
*ngIf="editMode && !isRevoked"
@@ -266,7 +266,7 @@
[bitAction]="revoke"
[disabled]="loading"
>
{{ "revokeAccess" | i18n }}
{{ "revoke" | i18n }}
</button>
<button
*ngIf="
@@ -275,13 +275,14 @@
!(editParams$ | async)?.managedByOrganization)
"
type="button"
bitIconButton="bwi-close"
buttonType="danger"
bitButton
bitFormButton
[appA11yTitle]="'remove' | i18n"
[bitAction]="remove"
[disabled]="loading"
></button>
>
{{ "remove" | i18n }}
</button>
<button
*ngIf="
this.editMode &&
@@ -289,13 +290,14 @@
(editParams$ | async)?.managedByOrganization
"
type="button"
bitIconButton="bwi-trash"
buttonType="danger"
bitButton
bitFormButton
[appA11yTitle]="'delete' | i18n"
[bitAction]="delete"
[disabled]="loading"
></button>
>
{{ "delete" | i18n }}
</button>
</div>
</ng-container>
</bit-dialog>

View File

@@ -1491,7 +1491,7 @@
},
"useYourRecoveryCode": {
"message": "Use your recovery code"
},
},
"insertYubiKey": {
"message": "Insert your YubiKey into your computer's USB port, then touch its button."
},
@@ -2273,6 +2273,9 @@
"revokeAccess": {
"message": "Revoke access"
},
"revoke": {
"message": "Revoke"
},
"twoStepLoginProviderEnabled": {
"message": "This two-step login provider is active on your account."
},