summaryrefslogtreecommitdiff
path: root/web-ui/app/templates/mails
diff options
context:
space:
mode:
authorRafael Lisboa <rafaelzlisboa@gmail.com>2015-04-14 16:13:49 -0300
committerRafael Lisboa <rafaelzlisboa@gmail.com>2015-04-14 16:13:49 -0300
commitf4aa7e41b343704843002ffc8a85c58abf09b911 (patch)
tree3a8b54edf62fadcb322d0f5cabeecde2c83f3067 /web-ui/app/templates/mails
parent2ec6d6260c8fcc66446d3e600b70dd0043109744 (diff)
parent8d2869fa1fa2018772d4f310c4ba9b9c9373a667 (diff)
Merge pull request #376 from pixelated-project/mail-item-refactor
Mail item refactor
Diffstat (limited to 'web-ui/app/templates/mails')
-rw-r--r--web-ui/app/templates/mails/draft.hbs4
-rw-r--r--web-ui/app/templates/mails/full_view.hbs2
-rw-r--r--web-ui/app/templates/mails/sent.hbs4
-rw-r--r--web-ui/app/templates/mails/single.hbs4
-rw-r--r--web-ui/app/templates/mails/trash.hbs2
5 files changed, 8 insertions, 8 deletions
diff --git a/web-ui/app/templates/mails/draft.hbs b/web-ui/app/templates/mails/draft.hbs
index 87862f34..c3d2fa5b 100644
--- a/web-ui/app/templates/mails/draft.hbs
+++ b/web-ui/app/templates/mails/draft.hbs
@@ -2,8 +2,8 @@
<input type="checkbox"/>
</span>
<span>
- <a href="/#/{{ tag }}/mail/{{ ident }}">
- <span class="sent-date">{{ header.formattedDate }}</span>
+ <a href="/#/{{ currentTag }}/mail/{{ ident }}">
+ <span class="sent-date">{{ formatDate header.date }}</span>
<div class="from">
{{t 'to:'}}
diff --git a/web-ui/app/templates/mails/full_view.hbs b/web-ui/app/templates/mails/full_view.hbs
index 55d116d2..a5c41121 100644
--- a/web-ui/app/templates/mails/full_view.hbs
+++ b/web-ui/app/templates/mails/full_view.hbs
@@ -34,7 +34,7 @@
{{{formatRecipients header}}}
</div>
<div class="recipients column large-2 text-right">
- <span class="received-date">{{ header.formattedDate }}</span>
+ <span class="received-date">{{ formatDate header.date }}</span>
</div>
<div>
<h3 class="subjectArea column large-10 no-padding">
diff --git a/web-ui/app/templates/mails/sent.hbs b/web-ui/app/templates/mails/sent.hbs
index e4b49b37..a0712124 100644
--- a/web-ui/app/templates/mails/sent.hbs
+++ b/web-ui/app/templates/mails/sent.hbs
@@ -2,8 +2,8 @@
<input type="checkbox"/>
</span>
<span>
- <a href="/#/{{ tag }}/mail/{{ ident }}">
- <span class="sent-date">{{ header.formattedDate }}</span>
+ <a href="/#/{{ currentTag }}/mail/{{ ident }}">
+ <span class="sent-date">{{ formatDate header.date }}</span>
<div class="from">
{{t 'to:'}}
diff --git a/web-ui/app/templates/mails/single.hbs b/web-ui/app/templates/mails/single.hbs
index 90023713..47d600fb 100644
--- a/web-ui/app/templates/mails/single.hbs
+++ b/web-ui/app/templates/mails/single.hbs
@@ -2,8 +2,8 @@
<input type="checkbox" {{#if isChecked }}checked="true"{{/if}} />
</span>
<span>
- <a href="/#/{{ tag }}/mail/{{ ident }}">
- <span class="received-date">{{ header.formattedDate }}
+ <a href="/#/{{ currentTag }}/mail/{{ ident }}">
+ <span class="received-date">{{ formatDate header.date }}
{{#if attachments}}
<div class="attachment-indicator">
<i class="fa fa-paperclip"></i>
diff --git a/web-ui/app/templates/mails/trash.hbs b/web-ui/app/templates/mails/trash.hbs
index a74c9606..4475aeb0 100644
--- a/web-ui/app/templates/mails/trash.hbs
+++ b/web-ui/app/templates/mails/trash.hbs
@@ -2,7 +2,7 @@
<input type="checkbox" {{#if isChecked }}checked="true"{{/if}} />
</span>
<span>
- <a href="/#/{{ tag }}/mail/{{ ident }}">
+ <a href="/#/{{ currentTag }}/mail/{{ ident }}">
<span class="received-date">{{ header.formattedDate }}
{{#if attachments}}
<div class="attachment-indicator">