diff options
Diffstat (limited to 'web-ui/app/templates')
-rw-r--r-- | web-ui/app/templates/mails/draft.hbs | 32 | ||||
-rw-r--r-- | web-ui/app/templates/mails/sent.hbs | 12 |
2 files changed, 41 insertions, 3 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> diff --git a/web-ui/app/templates/mails/sent.hbs b/web-ui/app/templates/mails/sent.hbs index 1bd907e4..e4b49b37 100644 --- a/web-ui/app/templates/mails/sent.hbs +++ b/web-ui/app/templates/mails/sent.hbs @@ -2,11 +2,17 @@ <input type="checkbox"/> </span> <span> - <a href="/#/{{ tag }}/mail/{{ ident }}"> + <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="from"> + {{t 'to:'}} + {{#if header.to }} + {{ header.to }} + {{else}} + {{t 'no_recipient'}} + {{/if}} + </div> <div class="subject-and-tags"> {{#if header.subject }} {{header.subject}} |