mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
[Policy] Update Personal Ownership checkbox description (#767)
* Initial commit of enabled checkbox description update * Updated requested changes * Fixed merge conflict
This commit is contained in:
@@ -36,7 +36,7 @@
|
|||||||
<div class="form-check">
|
<div class="form-check">
|
||||||
<input class="form-check-input" type="checkbox" id="enabled" [(ngModel)]="enabled"
|
<input class="form-check-input" type="checkbox" id="enabled" [(ngModel)]="enabled"
|
||||||
name="Enabled">
|
name="Enabled">
|
||||||
<label class="form-check-label" for="enabled">{{'enabled' | i18n}}</label>
|
<label class="form-check-label" for="enabled">{{checkboxDesc}}</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<ng-container *ngIf="type === policyType.MasterPassword">
|
<ng-container *ngIf="type === policyType.MasterPassword">
|
||||||
|
|||||||
@@ -172,6 +172,11 @@ export class PolicyEditComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
get checkboxDesc(): string {
|
||||||
|
return this.type === PolicyType.PersonalOwnership ? this.i18nService.t('personalOwnershipCheckboxDesc') :
|
||||||
|
this.i18nService.t('enabled');
|
||||||
|
}
|
||||||
|
|
||||||
private preValidate(): boolean {
|
private preValidate(): boolean {
|
||||||
switch (this.type) {
|
switch (this.type) {
|
||||||
case PolicyType.RequireSso:
|
case PolicyType.RequireSso:
|
||||||
|
|||||||
@@ -3625,6 +3625,9 @@
|
|||||||
"custom": {
|
"custom": {
|
||||||
"message": "Custom"
|
"message": "Custom"
|
||||||
},
|
},
|
||||||
|
"personalOwnershipCheckboxDesc": {
|
||||||
|
"message": "Disable personal ownership for organization users"
|
||||||
|
},
|
||||||
"textHiddenByDefault": {
|
"textHiddenByDefault": {
|
||||||
"message": "When accessing the Send, hide the text by default",
|
"message": "When accessing the Send, hide the text by default",
|
||||||
"description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated."
|
"description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated."
|
||||||
|
|||||||
Reference in New Issue
Block a user