summaryrefslogtreecommitdiff
path: root/web-ui/app/templates/mails/draft.hbs
blob: 536802a1e29b4aabda3db27e3343902c588e7185 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<span>
  <input type="checkbox"/>
</span>
<span>
  <a href="/#/{{ currentTag }}/mail/{{ ident }}">
    <span class="sent-date">{{ formatDate header.date }}
            {{#if attachments}}
            <div class="attachment-indicator">
                <i class="fa fa-paperclip"></i>
            </div>
        {{/if}}
    </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>