summaryrefslogtreecommitdiff
path: root/web-ui/app/templates/mails/single.hbs
diff options
context:
space:
mode:
Diffstat (limited to 'web-ui/app/templates/mails/single.hbs')
-rw-r--r--web-ui/app/templates/mails/single.hbs19
1 files changed, 19 insertions, 0 deletions
diff --git a/web-ui/app/templates/mails/single.hbs b/web-ui/app/templates/mails/single.hbs
new file mode 100644
index 00000000..9a054c79
--- /dev/null
+++ b/web-ui/app/templates/mails/single.hbs
@@ -0,0 +1,19 @@
+<span>
+ <input type="checkbox" {{#if isChecked }}checked="true"{{/if}}/>
+</span>
+<span>
+<a href="/#/{{ tag }}/mail/{{ ident }}">
+ <span class="received-date">{{ header.formattedDate }}</span>
+
+ <div class="from">{{#if header.from }}{{ header.from }}{{else}}{{t "you"}}{{/if}}</div>
+ <div class="subject-and-tags">
+ <ul class="tags">
+ {{#each tagsForListView }}
+ <li class="tag" data-tag="{{this}}">{{ this }}</li>
+ {{/each }}
+ </ul>
+
+ {{ header.subject }}
+ </div>
+</a>
+</span>