diff options
| author | Alexandre Kühn <aku@odoo.com> | 2018-07-05 17:00:46 +0200 |
|---|---|---|
| committer | Alexandre Kühn <aku@odoo.com> | 2018-07-19 13:58:34 +0200 |
| commit | e5039ad7d12a535e4f25561708dd7a27baf672a4 (patch) | |
| tree | 22e4b0ba2f6284de5c864a5c36c16c6172382408 /addons/mail/static/src/xml/abstract_thread_window.xml | |
| parent | 0b6243104e7d898ce9ddadf9cac928c9893e8e68 (diff) | |
[FIX] im_livechat,mail: clean thread models and windows
- Cleaning website livechat window so that some behaviour are in website livechat instead.
- More shared code in abstract thread / abstract thread windows, thanks to the
introduction of website_livechat model.
Diffstat (limited to 'addons/mail/static/src/xml/abstract_thread_window.xml')
| -rw-r--r-- | addons/mail/static/src/xml/abstract_thread_window.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/addons/mail/static/src/xml/abstract_thread_window.xml b/addons/mail/static/src/xml/abstract_thread_window.xml index 9266d85affe..e62cdba042b 100644 --- a/addons/mail/static/src/xml/abstract_thread_window.xml +++ b/addons/mail/static/src/xml/abstract_thread_window.xml @@ -7,8 +7,8 @@ <t t-name="mail.AbstractThreadWindow"> <div class="o_thread_window o_in_home_menu"> <div class="o_thread_window_header"> - <t t-call="mail.AbstractThreadWindowHeaderContent"> - <t t-set="status" t-value="widget.getStatus()"/> + <t t-call="mail.AbstractThreadWindow.HeaderContent"> + <t t-set="status" t-value="widget.getThreadStatus()"/> <t t-set="title" t-value="widget.getTitle()"/> <t t-set="unreadCounter" t-value="widget.getUnreadCounter()"/> </t> @@ -41,8 +41,8 @@ <ul class="dropdown-menu" role="menu"> <t t-foreach="threadWindows" t-as="threadWindow"> <li role="menuitem" class="o_thread_window_header" t-att-data-thread-id="threadWindow.getID()"> - <t t-call="mail.AbstractThreadWindowHeaderContent"> - <t t-set="status" t-value="threadWindow.getStatus()"/> + <t t-call="mail.AbstractThreadWindow.HeaderContent"> + <t t-set="status" t-value="threadWindow.getThreadStatus()"/> <t t-set="title" t-value="threadWindow.getTitle()"/> <t t-set="unreadCounter" t-value="threadWindow.getUnreadCounter()"/> </t> @@ -62,7 +62,7 @@ @param {function} widget.isMobile function without any param that states whether it should render for desktop or mobile screen. --> - <t t-name="mail.AbstractThreadWindowHeaderContent"> + <t t-name="mail.AbstractThreadWindow.HeaderContent"> <span t-if="widget.isMobile()"> <a href="#" class="o_thread_window_close fa fa-1x fa-arrow-left mr4" aria-label="Close chat window" title="Close chat window"/> </span> |
