diff options
| author | Aaron Bohy <aab@odoo.com> | 2015-10-05 12:00:19 +0200 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2015-10-06 16:24:09 +0200 |
| commit | aab4ef752e4607e7e7a5558d1bf0d884b716e22f (patch) | |
| tree | 2c78d82e8cdb21c90e26802bc4b08e86cfff7a5e /addons/mail/static/src/xml | |
| parent | 212bbf1f7e6d8e14b4017c1683655ed0e823db3f (diff) | |
[IMP] mail: thread: parameterize the display of messages' star
To allow hiding it in livechat windows on the website.
Diffstat (limited to 'addons/mail/static/src/xml')
| -rw-r--r-- | addons/mail/static/src/xml/thread.xml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/addons/mail/static/src/xml/thread.xml b/addons/mail/static/src/xml/thread.xml index da318464b71..1a0240282d4 100644 --- a/addons/mail/static/src/xml/thread.xml +++ b/addons/mail/static/src/xml/thread.xml @@ -37,8 +37,12 @@ </div> <div class="o_thread_message_core"> <span class="pull-right"> - <i t-if="message.is_needaction && options.display_needactions" class="fa fa-check o_thread_message_needaction" t-att-data-message-id="message.id" t-att-title="_t('Mark as Done')"/> - <i t-att-class="'fa fa-lg o_thread_message_star ' + (message.is_starred ? 'fa-star' : 'fa-star-o')" t-att-data-message-id="message.id" t-att-title="_t('Mark as Todo')"/> + <i t-if="message.is_needaction && options.display_needactions" + class="fa fa-check o_thread_message_needaction" + t-att-data-message-id="message.id" t-att-title="_t('Mark as Done')"/> + <i t-if="options.display_stars" + t-att-class="'fa fa-lg o_thread_message_star ' + (message.is_starred ? 'fa-star' : 'fa-star-o')" + t-att-data-message-id="message.id" t-att-title="_t('Mark as Todo')"/> </span> <p class="text-muted"> <t t-if="message.is_note"> |
