Add "hide email" option for Send

This commit is contained in:
Thomas Rittson 2021-03-25 15:29:49 +10:00
parent b5f89ee1a5
commit f3ae6ed1e2
2 changed files with 18 additions and 0 deletions

View File

@ -5,6 +5,9 @@
<app-callout *ngIf="disableSend"> <app-callout *ngIf="disableSend">
<span>{{'sendDisabledWarning' | i18n}}</span> <span>{{'sendDisabledWarning' | i18n}}</span>
</app-callout> </app-callout>
<app-callout type="info" *ngIf="disableHideEmail && !disableSend">
{{'sendOptionsPolicyInEffect' | i18n}}
</app-callout>
</div> </div>
<div class="box"> <div class="box">
<div class="box-header"> <div class="box-header">
@ -143,6 +146,15 @@
{{'sendNotesDesc' | i18n}} {{'sendNotesDesc' | i18n}}
</div> </div>
</div> </div>
<div class="box">
<div class="box-content">
<div class="box-content-row box-content-row-checkbox" appBoxRow>
<label for="hideEmail">{{'hideEmail' | i18n}}</label>
<input id="hideEmail" type="checkbox" name="HideEmail" [(ngModel)]="send.hideEmail"
[disabled]="(disableHideEmail && !send.hideEmail) || disableSend">
</div>
</div>
</div>
<div class="box"> <div class="box">
<div class="box-content"> <div class="box-content">
<div class="box-content-row box-content-row-checkbox" appBoxRow> <div class="box-content-row box-content-row-checkbox" appBoxRow>

View File

@ -1656,5 +1656,11 @@
}, },
"webAuthnAuthenticate": { "webAuthnAuthenticate": {
"message": "Authenticate WebAutn" "message": "Authenticate WebAutn"
},
"hideEmail": {
"message": "Hide my email address from recipients."
},
"sendOptionsPolicyInEffect": {
"message": "One or more organization policies are affecting your Send options."
} }
} }