From 195322b6489bc497deb1fa266414218cc0423c26 Mon Sep 17 00:00:00 2001 From: Felix Hammerl Date: Thu, 10 Mar 2016 20:23:52 +0100 Subject: Issue #620: Refactor read view --- web-ui/app/templates/mails/full_view.hbs | 101 +++++++++++++++---------------- 1 file changed, 50 insertions(+), 51 deletions(-) (limited to 'web-ui/app/templates/mails/full_view.hbs') diff --git a/web-ui/app/templates/mails/full_view.hbs b/web-ui/app/templates/mails/full_view.hbs index 3ff109e9..0bc9d999 100644 --- a/web-ui/app/templates/mails/full_view.hbs +++ b/web-ui/app/templates/mails/full_view.hbs @@ -1,29 +1,25 @@ + -
- -
- - - - -
+
+
+
{{#if signatureStatus}} {{t signatureStatus }} - {{/if}} - {{#if encryptionStatus}} + {{/if}} {{#if encryptionStatus}} {{t encryptionStatus }} {{/if}}
-
- + +
+ {{#if header.from }} {{ header.from }} {{else}} @@ -33,52 +29,55 @@ {{{formatRecipients header}}}
-
- {{ formatDate header.date }} + +
+ {{ formatDate header.date }}
-
-

- {{ header.subject }} -
-
    - - {{#each tags }} -
  • {{ this }}
  • - {{/each }} +
    -
  • - -
  • -
  • - -
  • -
-
-

- +
+

{{ header.subject }}

-
+ + +
+
    + + {{#each tags }} +
  • {{ this }}
  • + {{/each }} + +
  • + +
  • + +
  • + +
  • +
+
-
- -
+ {{#if attachments}} -
-
-

{{ attachments.length }} attachment(s):

- +
+ +
+

{{ attachments.length }} attachment(s):

+
-
{{/if}}
+ -- cgit v1.2.3