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

View File

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