1
0
mirror of https://github.com/moparisthebest/mail synced 2024-12-23 07:48:48 -05:00

fix subject in reader

This commit is contained in:
Tankred Hase 2013-12-05 16:39:29 +01:00
parent 8a6a146225
commit edb424edd0

View File

@ -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.encrypted) ? ' (not encrypted)' : '')}}</p>
<p class="subject" ng-click="state.read.toggle(false)">{{(state.mailList.selected.subject) ? state.mailList.selected.subject + ((!state.mailList.selected.encrypted) ? ' (not encrypted)' : '') : 'No subject'}}</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) ? '&#xe001;' : (u.secure === true) ? '&#xe009;' : ''}}" ng-mouseover="getFingerprint(u.address)" popover="#fingerprint-info">{{u.name || u.address}}</span>