summaryrefslogtreecommitdiff
path: root/web-ui/app/templates/mails
diff options
context:
space:
mode:
authorNavaL <mnandri@thoughtworks.com>2016-01-11 20:07:47 +0100
committerNavaL <mnandri@thoughtworks.com>2016-01-11 20:07:47 +0100
commit342828fd818aa3212e0aed2ba79e0218e1274c6c (patch)
tree751849010971a8465f8722f50fff73d21d57b362 /web-ui/app/templates/mails
parent100bb93759c9bfbc24cd812544a68b729da2706b (diff)
adding paperclip icon on sent mails and drafts email lists
Issue #573
Diffstat (limited to 'web-ui/app/templates/mails')
-rw-r--r--web-ui/app/templates/mails/draft.hbs8
-rw-r--r--web-ui/app/templates/mails/sent.hbs52
2 files changed, 36 insertions, 24 deletions
diff --git a/web-ui/app/templates/mails/draft.hbs b/web-ui/app/templates/mails/draft.hbs
index c3d2fa5b..536802a1 100644
--- a/web-ui/app/templates/mails/draft.hbs
+++ b/web-ui/app/templates/mails/draft.hbs
@@ -3,7 +3,13 @@
</span>
<span>
<a href="/#/{{ currentTag }}/mail/{{ ident }}">
- <span class="sent-date">{{ formatDate header.date }}</span>
+ <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:'}}
diff --git a/web-ui/app/templates/mails/sent.hbs b/web-ui/app/templates/mails/sent.hbs
index a0712124..b3cf110f 100644
--- a/web-ui/app/templates/mails/sent.hbs
+++ b/web-ui/app/templates/mails/sent.hbs
@@ -3,29 +3,35 @@
</span>
<span>
<a href="/#/{{ currentTag }}/mail/{{ ident }}">
- <span class="sent-date">{{ formatDate header.date }}</span>
+ <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">
- {{#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>
+ <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}}
+ {{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>