From 9b8d8c46326a6d381f0440c37f7e8a91deec49c6 Mon Sep 17 00:00:00 2001 From: Felix Hammerl Date: Wed, 23 Mar 2016 13:55:25 +0100 Subject: Issue #648: Refactor mail-list --- web-ui/app/templates/mails/single.hbs | 49 +++++++++++++++++++---------------- 1 file changed, 27 insertions(+), 22 deletions(-) (limited to 'web-ui/app/templates/mails/single.hbs') diff --git a/web-ui/app/templates/mails/single.hbs b/web-ui/app/templates/mails/single.hbs index 95f9adb7..aaede844 100644 --- a/web-ui/app/templates/mails/single.hbs +++ b/web-ui/app/templates/mails/single.hbs @@ -1,23 +1,28 @@ - - - - - - {{ formatDate header.date }} - {{#if attachments}} -
- -
- {{/if}} -
-
{{#if header.from }}{{ header.from }}{{else}}{{t "you"}}{{/if}}
-
- {{ header.subject }} +
+ +
+
+
+
+ {{#if header.from }} + {{ header.from }} + {{else}} + {{t "you"}} + {{/if}} +
+ + {{ formatDate header.date }}
-
    - {{#each tagsForListView }} -
  • {{ this }}
  • - {{/each }} -
-
- +
+
{{ header.subject }}
+ + {{#if attachments}} +
+ {{/if}} +
+
    + {{#each tagsForListView }} +
  • {{ this }}
  • + {{/each }} +
+ -- cgit v1.2.3