diff options
| author | Géry Debongnie <ged@odoo.com> | 2016-03-02 13:58:47 +0100 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2016-03-03 15:45:05 +0100 |
| commit | a127a7aed238dd041d5f90857f38df5a9bd017f9 (patch) | |
| tree | 5c1d67d026335e906ec5d78e97d28014312e698f /addons/mail/static/src/xml/thread.xml | |
| parent | ba74e9ffec58011147e92212c0619019d6a28099 (diff) | |
[FIX] mail: only update timestamps periodically
the messages in a thread were previously rerendered every minutes to
update their timestamps. This commit only update the timestamps, not
all the message. This will allow us to keep expanded/folded state in
messages without collapsing them every minutes.
[IMP] mail: add read more/read less support client side
Messages are cleaned up and tagged server sides, with a attribute
data-o-mail-quote. This commit replace their content with a clickable
read more link, which toggle its display.
Diffstat (limited to 'addons/mail/static/src/xml/thread.xml')
| -rw-r--r-- | addons/mail/static/src/xml/thread.xml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/addons/mail/static/src/xml/thread.xml b/addons/mail/static/src/xml/thread.xml index 3cab917d315..df1dfadb04d 100644 --- a/addons/mail/static/src/xml/thread.xml +++ b/addons/mail/static/src/xml/thread.xml @@ -87,9 +87,7 @@ <t t-esc="message.displayed_author"/> </strong> - <small t-att-title="message.date"> - - <t t-esc="message.hour"/> - </small> + - <small class="o_mail_timestamp" t-att-title="message.date"><t t-esc="message.hour"/></small> <t t-if="message.model && (message.model != 'mail.channel') && options.display_document_link"> on <a t-att-href="message.url" t-att-data-oe-model="message.model" t-att-data-oe-id="message.res_id"><t t-esc="message.record_name"/></a> </t> |
