1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-01-30 22:41:33 +01:00

[PM-14551] revert copy in revoke member dialogs (#12392)

* include copy for single revoke warning and unmixed members

* clean up logic

* remove new copy for revoking members

* remove copy
This commit is contained in:
Brandon Treston 2024-12-16 10:20:27 -05:00 committed by GitHub
parent f75a13e265
commit 878d82e16f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 49 deletions

View File

@ -27,37 +27,14 @@
</bit-callout>
<ng-container *ngIf="!done">
<ng-container *ngIf="accountDeprovisioning.enabled">
<div *ngIf="users.length > 0 && !error && isRevoking">
<p>{{ "revokeMembersWarning" | i18n }}</p>
<ul>
<li>
{{ "claimedAccountRevoke" | i18n }}
</li>
<li>
{{ "unclaimedAccountRevoke" | i18n }}
</li>
</ul>
<p>
{{ "restoreMembersInstructions" | i18n }}
</p>
<p *ngIf="this.showNoMasterPasswordWarning">
{{ "removeMembersWithoutMasterPasswordWarning" | i18n }}
</p>
</div>
</ng-container>
<ng-container *ngIf="!accountDeprovisioning.enabled">
<bit-callout type="warning" *ngIf="users.length > 0 && !error && isRevoking">
<p>{{ "revokeUsersWarning" | i18n }}</p>
</bit-callout>
</ng-container>
<bit-callout type="warning" *ngIf="users.length > 0 && !error && isRevoking">
<p>{{ "revokeUsersWarning" | i18n }}</p>
</bit-callout>
<bit-table *ngIf="accountDeprovisioning.enabled">
<ng-container header>
<tr>
<th bitCell class="tw-w-1/2">{{ "member" | i18n }}</th>
<th bitCell *ngIf="isRevoking">{{ "details" | i18n }}</th>
<th bitCell *ngIf="this.showNoMasterPasswordWarning">{{ "details" | i18n }}</th>
</tr>
</ng-container>
@ -74,11 +51,6 @@
</div>
</div>
</td>
<td *ngIf="isRevoking" bitCell width="30">
{{
user.managedByOrganization ? ("claimedAccount" | i18n) : ("unclaimedAccount" | i18n)
}}
</td>
<td bitCell *ngIf="this.showNoMasterPasswordWarning">
<span class="tw-block tw-lowercase tw-text-muted">
<ng-container *ngIf="user.hasMasterPassword === true"> - </ng-container>

View File

@ -35,24 +35,6 @@
"restoreMembers": {
"message": "Restore members"
},
"revokeMembersWarning":{
"message": "Members with claimed and unclaimed accounts will have different results when revoked:"
},
"claimedAccountRevoke": {
"message": "Claimed account: Revoke access to Bitwarden account"
},
"unclaimedAccountRevoke": {
"message": "Unclaimed account: Revoke access to organization data"
},
"claimedAccount": {
"message": "Claimed account"
},
"unclaimedAccount": {
"message": "Unclaimed account"
},
"restoreMembersInstructions": {
"message": "To restore a member's account, go to the Revoked tab. The process may take a few seconds to complete and cannot be interrupted or canceled."
},
"cannotRestoreAccessError":{
"message": "Cannot restore organization access"
},