summaryrefslogtreecommitdiff
path: root/web-ui/app/templates/mails/sent.hbs
blob: 158b20c89933c7140dc437f151e667f79997b6a6 (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
<div class="mail-list-entry__checkbox">
    <input type="checkbox" {{#if isChecked }}checked="true"{{/if}} />
</div>
<a class="mail-list-entry__item" href="/#/{{ currentTag }}/mail/{{ ident }}">
    <div>
        <div class="mail-list-entry__item-from">
            {{t 'to'}}:
            {{#if header.to }}
                {{ header.to }}
            {{else}}
                {{t 'no-recipient'}}
            {{/if}}
        </div> <!-- /.mail-list-entry__item-from -->

        <span class="mail-list-entry__item-date">{{ formatDate header.date }}</span> <!-- /.mail-list-entry__item-date -->
    </div>
    <div>
        <div class="mail-list-entry__item-subject">
            {{#if header.subject }}
                {{header.subject}}
            {{else}}
                {{t 'no-subject'}}
            {{/if}}
         </div>

        {{#if attachments}}
            <div class="mail-list-entry__item-attachment"><i class="fa fa-paperclip"></i></div>
        {{/if}}
    </div>
    <ul class="mail-list-entry__item-tags">
        {{#each tagsForListView }}
            <li class="mail-list-entry__item-tags-tag" data-tag="{{this}}">{{ this }}</li>
        {{/each }}
    </ul> <!-- /.mail-list-entry__item-tags -->
</a>