diff options
| author | Jérome Maes <jem@openerp.com> | 2015-08-10 16:23:44 +0200 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2015-09-01 20:16:09 +0200 |
| commit | 95b97d1010e2596c8dbe719382c77c6009819afa (patch) | |
| tree | 2a5d3b0400785eab023ec1c7768829482682cf24 /addons/im_livechat/static/src/xml/im_livechat_backend.xml | |
| parent | 1d54858cbdd10dd6fbfbb3edc1e032317e2ba3f6 (diff) | |
[REF] im_livechat : refactoring, make it compatbile with the nw mail module, change reporting sql view (split them in 2), adapt view, ...
Diffstat (limited to 'addons/im_livechat/static/src/xml/im_livechat_backend.xml')
| -rw-r--r-- | addons/im_livechat/static/src/xml/im_livechat_backend.xml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/addons/im_livechat/static/src/xml/im_livechat_backend.xml b/addons/im_livechat/static/src/xml/im_livechat_backend.xml new file mode 100644 index 00000000000..a48027b6047 --- /dev/null +++ b/addons/im_livechat/static/src/xml/im_livechat_backend.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<template> + + <t t-extend="mail.chat.ChatMailThread.channels"> + <t t-jquery="li > a" t-operation="append"> + <t t-if="channel.channel_type === 'livechat'"> + <span class="fa fa-times pull-right o_mail_chat_channel_unpin" t-att-title="_t('Untoggle')" t-att-data-channel-id="channel.id"/> + </t> + </t> + </t> + + <t t-extend="mail.chat.ChatMailThread"> + <t t-jquery=".o_mail_chat_sidebar" t-operation="append"> + <!-- Livechat list --> + <h4 class="o_mail_chat_sidebar_title"><t t-esc="_t('Livechat')"/></h4> + <t t-call="mail.chat.ChatMailThread.channels"> + <t t-set="channel_slot" t-value="'channel_livechat'"/> + </t> + </t> + </t> + +</template> |
