summaryrefslogtreecommitdiff
path: root/web-ui/app/templates/mails/draft.hbs
blob: 87862f3433409679105606c57a084cf7f27c0019 (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
<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>