From edb424edd09a8a7576eba75cdcfc4bbe24a2d5dc Mon Sep 17 00:00:00 2001 From: Tankred Hase Date: Thu, 5 Dec 2013 16:39:29 +0100 Subject: [PATCH] fix subject in reader --- src/tpl/read.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tpl/read.html b/src/tpl/read.html index 3ce8442..bcaefe1 100644 --- a/src/tpl/read.html +++ b/src/tpl/read.html @@ -6,7 +6,7 @@
-

{{(state.mailList.selected.subject || 'No subject') + ((!state.mailList.selected.encrypted) ? ' (not encrypted)' : '')}}

+

{{(state.mailList.selected.subject) ? state.mailList.selected.subject + ((!state.mailList.selected.encrypted) ? ' (not encrypted)' : '') : 'No subject'}}

{{state.mailList.selected.sentDate | date:'EEEE, MMM d, yyyy h:mm a'}}

From: {{u.name || u.address}}