Skip to content

Commit

Permalink
Fix display of Bcc header
Browse files Browse the repository at this point in the history
Fixes #4642
  • Loading branch information
cgx committed Jan 14, 2019
1 parent ba32125 commit e10ebff
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
3 changes: 2 additions & 1 deletion NEWS
Expand Up @@ -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)
------------------
Expand Down
22 changes: 22 additions & 0 deletions UI/Templates/MailerUI/UIxMailViewTemplate.wox
Expand Up @@ -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">
Expand All @@ -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"/>
Expand All @@ -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"
Expand Down

0 comments on commit e10ebff

Please sign in to comment.