summaryrefslogtreecommitdiff
path: root/web-ui/app/templates/mails/draft.hbs
diff options
context:
space:
mode:
Diffstat (limited to 'web-ui/app/templates/mails/draft.hbs')
-rw-r--r--web-ui/app/templates/mails/draft.hbs32
1 files changed, 32 insertions, 0 deletions
diff --git a/web-ui/app/templates/mails/draft.hbs b/web-ui/app/templates/mails/draft.hbs
new file mode 100644
index 00000000..87862f34
--- /dev/null
+++ b/web-ui/app/templates/mails/draft.hbs
@@ -0,0 +1,32 @@
+<span>
+ <input type="checkbox"/>
+</span>
+<span>
+ <a href="/#/{{ tag }}/mail/{{ ident }}">
+ <span class="sent-date">{{ header.formattedDate }}</span>
+
+ <div class="from">
+ {{t 'to:'}}
+ {{#if header.to }}
+ {{ header.to }}
+ {{else}}
+ {{t 'no_recipient'}}
+ {{/if}}
+ </div>
+ <div class="subject-and-tags">
+ <i class="fa fa-pencil"></i>
+ {{#if header.subject }}
+ {{header.subject}}
+ {{else}}
+ {{t 'no_subject'}}
+ {{/if}}
+ </div>
+ <div class="subject-and-tags">
+ <ul class="tags">
+ {{#each tagsForListView }}
+ <li class="tag" data-tag="{{this}}">{{ this }}</li>
+ {{/each }}
+ </ul>
+ </div>
+ </a>
+</span>