diff options
| author | Dhaval Panchal <dpa@odoo.com> | 2017-05-17 18:09:09 +0530 |
|---|---|---|
| committer | ged-odoo <ged@odoo.com> | 2017-05-17 14:39:09 +0200 |
| commit | db41366b672d834d4a80ec525a9de593f742ff0c (patch) | |
| tree | de4c41319109692b25f26ee3d7d2d06ad3af93b9 /addons/mail/static/src/xml/thread.xml | |
| parent | 6ea3b8de383adc54469d2b0a636a3bd21e50f953 (diff) | |
[IMP] discuss: action buttons always visible on touch screens
We add the o_touch_device css class to the body (it was done in enterprise only), and various other small changes to make sure that the action buttons (in discuss, next to the message title) are always visible (not only on hover) when we are on a touch device. (pr (#15459, closes task 31208)
Diffstat (limited to 'addons/mail/static/src/xml/thread.xml')
| -rw-r--r-- | addons/mail/static/src/xml/thread.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/addons/mail/static/src/xml/thread.xml b/addons/mail/static/src/xml/thread.xml index b9579be0790..bdee6c580df 100644 --- a/addons/mail/static/src/xml/thread.xml +++ b/addons/mail/static/src/xml/thread.xml @@ -109,15 +109,15 @@ </t> </span> </span> - <span> + <span t-attf-class="o_thread_icons"> <i t-if="options.display_stars && !message.is_system_notification" - t-att-class="'fa fa-lg o_thread_message_star ' + (message.is_starred ? 'fa-star' : 'fa-star-o')" + t-att-class="'fa fa-lg o_thread_icon o_thread_message_star ' + (message.is_starred ? 'fa-star' : 'fa-star-o')" t-att-data-message-id="message.id" title="Mark as Todo"/> <i t-if="message.record_name && message.model != 'mail.channel' && options.display_reply_icon" - class="fa fa-reply o_thread_message_reply" + class="fa fa-reply o_thread_icon o_thread_message_reply" t-att-data-message-id="message.id" title="Reply"/> <i t-if="message.is_needaction && options.display_needactions" - class="fa fa-check o_thread_message_needaction" + class="fa fa-check o_thread_icon o_thread_message_needaction" t-att-data-message-id="message.id" title="Mark as Read"/> </span> </p> |
