diff options
author | Glauco Vinicius <gl4uc0@gmail.com> | 2015-04-08 20:25:00 -0300 |
---|---|---|
committer | Glauco Vinicius <gl4uc0@gmail.com> | 2015-04-08 20:25:24 -0300 |
commit | d63d8b4059f662a4fe2da2f8aa4151e759d16fc1 (patch) | |
tree | e639d05139ae670d35151595f3899c0b407ddd6a /web-ui/app/templates/mails | |
parent | 009a945b9472c8a3aed9980f27396f1da33672ac (diff) |
#363 [Luiz, Glauco] Trash Icon is not appearing for mails in Inbox anymore
Diffstat (limited to 'web-ui/app/templates/mails')
-rw-r--r-- | web-ui/app/templates/mails/single.hbs | 1 | ||||
-rw-r--r-- | web-ui/app/templates/mails/trash.hbs | 26 |
2 files changed, 26 insertions, 1 deletions
diff --git a/web-ui/app/templates/mails/single.hbs b/web-ui/app/templates/mails/single.hbs index a74c9606..90023713 100644 --- a/web-ui/app/templates/mails/single.hbs +++ b/web-ui/app/templates/mails/single.hbs @@ -12,7 +12,6 @@ </span> <div class="from">{{#if header.from }}{{ header.from }}{{else}}{{t "you"}}{{/if}}</div> <div class="subject-and-tags"> - <i class="fa fa-trash-o"></i> {{ header.subject }} </div> <div class="subject-and-tags"> diff --git a/web-ui/app/templates/mails/trash.hbs b/web-ui/app/templates/mails/trash.hbs new file mode 100644 index 00000000..a74c9606 --- /dev/null +++ b/web-ui/app/templates/mails/trash.hbs @@ -0,0 +1,26 @@ +<span> + <input type="checkbox" {{#if isChecked }}checked="true"{{/if}} /> +</span> +<span> + <a href="/#/{{ tag }}/mail/{{ ident }}"> + <span class="received-date">{{ header.formattedDate }} + {{#if attachments}} + <div class="attachment-indicator"> + <i class="fa fa-paperclip"></i> + </div> + {{/if}} + </span> + <div class="from">{{#if header.from }}{{ header.from }}{{else}}{{t "you"}}{{/if}}</div> + <div class="subject-and-tags"> + <i class="fa fa-trash-o"></i> + {{ header.subject }} + </div> + <div class="subject-and-tags"> + <ul class="tags"> + {{#each tagsForListView }} + <li class="tag" data-tag="{{this}}">{{ this }}</li> + {{/each }} + </ul> + </div> + </a> +</span> |