mirror of
https://github.com/moparisthebest/mail
synced 2024-11-29 20:32:15 -05:00
add encrypted flag to messages
This commit is contained in:
parent
3cbae34f7b
commit
f6b15ac151
@ -530,6 +530,8 @@ define(function(require) {
|
||||
decrypted = err.errMsg;
|
||||
}
|
||||
|
||||
// set encrypted flag
|
||||
email.encrypted = true;
|
||||
setBodyAndContinue(decrypted);
|
||||
});
|
||||
});
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
<div class="view-read" ng-controller="ReadCtrl">
|
||||
<div class="headers">
|
||||
<p class="subject" ng-click="state.read.toggle(false)">{{(state.mailList.selected.subject || 'No subject') + ((state.mailList.selected.from[0].secure === false) ? ' (unencrypted)' : '')}}</p>
|
||||
<p class="subject" ng-click="state.read.toggle(false)">{{(state.mailList.selected.subject || 'No subject') + ((!state.mailList.selected.encrypted) ? ' (not encrypted)' : '')}}</p>
|
||||
<p class="date">{{state.mailList.selected.sentDate | date:'EEEE, MMM d, yyyy h:mm a'}}</p>
|
||||
<p class="address">
|
||||
From: <span ng-repeat="u in state.mailList.selected.from" class="label" ng-class="{'label-primary': u.secure === false}" data-icon-append="{{(u.secure === false) ? '' : (u.secure === true) ? '' : ''}}" ng-mouseover="getFingerprint(u.address)" popover="#fingerprint-info">{{u.name || u.address}}</span>
|
||||
|
Loading…
Reference in New Issue
Block a user