From fafac3b4128a0993b0de1c6e8ca3062bf1ccc14e Mon Sep 17 00:00:00 2001 From: Roald de Vries Date: Thu, 8 Dec 2016 16:59:09 +0100 Subject: Revert "[#801] Merge branch 'signup'" This reverts commit d10f607a4d40587510b0dc31b31fe4750bf4a3a3, reversing changes made to c28abba2f5b1186c671ebef508d40ffaae6d5bc5. --- web-ui/app/templates/mails/draft.hbs | 41 ++++++++++++++ web-ui/app/templates/mails/full_view.hbs | 83 +++++++++++++++++++++++++++++ web-ui/app/templates/mails/mail_actions.hbs | 6 +++ web-ui/app/templates/mails/sent.hbs | 36 +++++++++++++ web-ui/app/templates/mails/single.hbs | 28 ++++++++++ web-ui/app/templates/mails/trash.hbs | 32 +++++++++++ 6 files changed, 226 insertions(+) create mode 100644 web-ui/app/templates/mails/draft.hbs create mode 100644 web-ui/app/templates/mails/full_view.hbs create mode 100644 web-ui/app/templates/mails/mail_actions.hbs create mode 100644 web-ui/app/templates/mails/sent.hbs create mode 100644 web-ui/app/templates/mails/single.hbs create mode 100644 web-ui/app/templates/mails/trash.hbs (limited to 'web-ui/app/templates/mails') diff --git a/web-ui/app/templates/mails/draft.hbs b/web-ui/app/templates/mails/draft.hbs new file mode 100644 index 00000000..808ce3ff --- /dev/null +++ b/web-ui/app/templates/mails/draft.hbs @@ -0,0 +1,41 @@ +
+ +
+ + +
+
+ {{t 'to'}}: + {{#if header.to }} + {{ header.to }} + {{else}} + {{t 'no-recipient'}} + {{/if}} +
+ + {{ formatDate header.date }} +
+
+
+ + {{#if header.subject }} + {{header.subject}} + {{else}} + {{t 'no-subject'}} + {{/if}} +
+ + {{#if attachments}} +
+ {{/if}} +
+ +
+ + + + diff --git a/web-ui/app/templates/mails/full_view.hbs b/web-ui/app/templates/mails/full_view.hbs new file mode 100644 index 00000000..40bfd4a2 --- /dev/null +++ b/web-ui/app/templates/mails/full_view.hbs @@ -0,0 +1,83 @@ + + +
+
+ + +
+ {{#if signatureStatus}} + + {{t signatureStatus.label }} + + {{/if}} + {{#if encryptionStatus}} + + {{t encryptionStatus.label }} + + {{/if}} +
+ +
+ + {{#if header.from }} + {{ header.from }} + {{else}} + {{t 'you'}} + {{/if}} + + + {{{formatRecipients header}}} +
+ +
+ {{ formatDate header.date }} +
+ +
+ +
+

{{ header.subject }}

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

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

+ +
+ {{/if}} +
diff --git a/web-ui/app/templates/mails/mail_actions.hbs b/web-ui/app/templates/mails/mail_actions.hbs new file mode 100644 index 00000000..0adfe853 --- /dev/null +++ b/web-ui/app/templates/mails/mail_actions.hbs @@ -0,0 +1,6 @@ + + + diff --git a/web-ui/app/templates/mails/sent.hbs b/web-ui/app/templates/mails/sent.hbs new file mode 100644 index 00000000..158b20c8 --- /dev/null +++ b/web-ui/app/templates/mails/sent.hbs @@ -0,0 +1,36 @@ +
+ +
+ +
+
+ {{t 'to'}}: + {{#if header.to }} + {{ header.to }} + {{else}} + {{t 'no-recipient'}} + {{/if}} +
+ + {{ formatDate header.date }} +
+
+
+ {{#if header.subject }} + {{header.subject}} + {{else}} + {{t 'no-subject'}} + {{/if}} +
+ + {{#if attachments}} +
+ {{/if}} +
+ +
+ diff --git a/web-ui/app/templates/mails/single.hbs b/web-ui/app/templates/mails/single.hbs new file mode 100644 index 00000000..aaede844 --- /dev/null +++ b/web-ui/app/templates/mails/single.hbs @@ -0,0 +1,28 @@ +
+ +
+ +
+
+ {{#if header.from }} + {{ header.from }} + {{else}} + {{t "you"}} + {{/if}} +
+ + {{ formatDate header.date }} +
+
+
{{ header.subject }}
+ + {{#if attachments}} +
+ {{/if}} +
+ +
diff --git a/web-ui/app/templates/mails/trash.hbs b/web-ui/app/templates/mails/trash.hbs new file mode 100644 index 00000000..f8947b15 --- /dev/null +++ b/web-ui/app/templates/mails/trash.hbs @@ -0,0 +1,32 @@ +
+ +
+ +
+
+ {{#if header.from }} + {{ header.from }} + {{else}} + {{t "you"}} + {{/if}} +
+ + {{ formatDate header.date }} +
+
+
+ + {{ header.subject }} +
+ + {{#if attachments}} +
+ {{/if}} +
+ +
+ -- cgit v1.2.3