1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 15:23:33 +00:00

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
3 changed files with 20 additions and 1 deletions

2
jslib

Submodule jslib updated: 7f3bbd6e51...0735569479

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">