Fix display of Bcc header

Fixes #4642
pull/249/head
Francis Lachapelle 2019-01-14 15:40:00 -05:00
parent ba32125ee5
commit e10ebff34f
2 changed files with 24 additions and 1 deletions

3
NEWS
View File

@ -5,7 +5,8 @@ Enhancements
- [web] create card from sender or recipient address (#3002, #4610)
Bug fixes
- [web] Fix all-day event dates with different timezone
- [web] fixed all-day event dates with different timezone
- [web] fixed display of Bcc header (#4642)
4.0.5 (2019-01-09)
------------------

View File

@ -141,6 +141,7 @@
</div>
</div>
</div>
<!-- to -->
<div class="msg-recipients" layout="column" flex="50" flex-xs="100">
<div class="pseudo-input-container--compact">
<label class="pseudo-input-label">
@ -165,6 +166,7 @@
</md-chips>
</div>
</div>
<!-- cc -->
<div class="pseudo-input-container--compact" ng-show="viewer.$showDetailedRecipients">
<label class="pseudo-input-label" ng-show="::viewer.message.cc.length > 0">
<var:string label:value="Cc"/>
@ -183,6 +185,26 @@
</md-chip-template>
</md-chips>
</div>
</div>
<!-- bcc -->
<div class="pseudo-input-container--compact" ng-show="viewer.$showDetailedRecipients">
<label class="pseudo-input-label" ng-show="::viewer.message.bcc.length > 0">
<var:string label:value="Bcc"/>
</label>
<div class="pseudo-input-field" ng-show="::viewer.message.bcc.length > 0">
<md-chips
class="sg-dense sg-readonly"
ng-model="::viewer.message.bcc"
md-removable="::false"
readonly="::true">
<md-chip-template
ng-click="viewer.selectRecipient($chip, $event)"
ng-focus="viewer.focusChip($event)"
ng-blur="viewer.blurChip($event)">
{{ $chip.name || $chip.email }}
</md-chip-template>
</md-chips>
</div>
<md-button
ng-hide="viewer.$alwaysShowDetailedRecipients || !viewer.$showDetailedRecipients"
style="float: right"