Merge pull request #1740 from bitwarden/send-hide-email

Hide email address in Sends
This commit is contained in:
Thomas Rittson 2021-03-29 07:57:17 +10:00 committed by GitHub
commit e60d7924a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 1 deletions

2
jslib

@ -1 +1 @@
Subproject commit 7f3bbd6e514585750477f6b5f27e3d996c24902e Subproject commit 07355694792999042e6373ebd1b3571329a969cc

View File

@ -1693,5 +1693,11 @@
}, },
"dateParsingError": { "dateParsingError": {
"message": "There was an error saving your deletion and expiration dates." "message": "There was an error saving your deletion and expiration dates."
},
"hideEmail": {
"message": "Hide my email address from recipients."
},
"sendOptionsPolicyInEffect": {
"message": "One or more organization policies are affecting your Send options."
} }
} }

View File

@ -18,6 +18,9 @@
<app-callout type="warning" title="{{'sendDisabled' | i18n}}" *ngIf="disableSend"> <app-callout type="warning" title="{{'sendDisabled' | i18n}}" *ngIf="disableSend">
{{'sendDisabledWarning' | i18n}} {{'sendDisabledWarning' | i18n}}
</app-callout> </app-callout>
<app-callout type="info" *ngIf="disableHideEmail && !disableSend">
{{'sendOptionsPolicyInEffect' | i18n}}
</app-callout>
<!-- File Warning --> <!-- File Warning -->
<app-callout type="warning" icon="fa fa-external-link fa-rotate-270 fa-fw" [clickable]="true" <app-callout type="warning" icon="fa fa-external-link fa-rotate-270 fa-fw" [clickable]="true"
title="{{'sendFileCalloutHeader' | i18n}}" title="{{'sendFileCalloutHeader' | i18n}}"
@ -279,6 +282,16 @@
{{'sendNotesDesc' | i18n}} {{'sendNotesDesc' | i18n}}
</div> </div>
</div> </div>
<!-- Hide Email -->
<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>
<!-- Disable Send --> <!-- Disable Send -->
<div class="box"> <div class="box">
<div class="box-content"> <div class="box-content">