summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml/mail.xml
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@openerp.com>2013-01-29 16:35:28 +0100
committerChristophe Matthieu <chm@openerp.com>2013-01-29 16:35:28 +0100
commit79c15f832ce53af76f39880bec16f0e8358dae52 (patch)
treeb1205dd6f85b758a2852b21ccefd8356a144e261 /addons/mail/static/src/xml/mail.xml
parent22c857caf3d0e0e7e7efbcbe1575c1fc450ec66d (diff)
[FIX] mail: js change _date to date for display date of message. display complete date if more of 7 days
bzr revid: chm@openerp.com-20130129153528-cffz4dbbn6i80euw
Diffstat (limited to 'addons/mail/static/src/xml/mail.xml')
-rw-r--r--addons/mail/static/src/xml/mail.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/static/src/xml/mail.xml b/addons/mail/static/src/xml/mail.xml
index 63f8a10658f..4693adeb1ee 100644
--- a/addons/mail/static/src/xml/mail.xml
+++ b/addons/mail/static/src/xml/mail.xml
@@ -246,7 +246,7 @@
<a t-if="widget.author_id and widget.options.show_link and widget.author_id[0]" t-attf-href="#model=res.partner&amp;id=#{widget.author_id[0]}"><t t-raw="widget.author_id[2]"/></a>
<span t-if="widget.author_id and (!widget.options.show_link or !widget.author_id[0])"><t t-raw="widget.author_id[2]"/></span>
<span class='oe_subtle'>•</span>
- <span t-att-title="widget.date"><t t-raw="widget.timerelative"/></span>
+ <span t-att-title="widget.date"><t t-if="widget.timerelative" t-raw="widget.timerelative"/><t t-if="!widget.timerelative" t-raw="widget.date"/></span>
<span t-if="!widget.options.readonly" class='oe_subtle'>•</span>
<t t-if="!widget.options.readonly" t-call="mail.thread.message.vote"/>
</div>