summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml/thread.xml
diff options
context:
space:
mode:
authorAlexandre Kühn <aku@odoo.com>2018-07-04 12:00:56 +0200
committerAlexandre Kühn <aku@odoo.com>2018-07-19 13:58:33 +0200
commit4925d53562725ba28444990644f6f426f20353f2 (patch)
tree645b734400574f21bc92b50c8be41da65da5031c /addons/mail/static/src/xml/thread.xml
parentaf2f12b136613a4cb50ce5e10a41a7b682debf18 (diff)
[FIX] mail: improve names of option parameter, classname, and template name
- `displayEmptyChannel` thread rendering options becomes `displayEmptyThread` - classname `o_chat_content` becomes `o_thread-window_content`, as it is used only for thread windows. - template `mail.EmptyChannel` has been renamed to `mail.widget.Thread.Empty`
Diffstat (limited to 'addons/mail/static/src/xml/thread.xml')
-rw-r--r--addons/mail/static/src/xml/thread.xml8
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 ac544d3b7bb..faed573bff6 100644
--- a/addons/mail/static/src/xml/thread.xml
+++ b/addons/mail/static/src/xml/thread.xml
@@ -12,8 +12,8 @@
<t t-if="options.displayLoadMore and options.displayOrder == ORDER.DESC"
t-call="mail.widget.Thread.LoadMore"/>
</t>
- <t t-if="options.displayEmptyChannel">
- <t t-call="mail.EmptyChannel" />
+ <t t-if="options.displayEmptyThread">
+ <t t-call="mail.widget.Thread.Empty" />
</t>
<div t-if="options.displayNoMatchFound" class="o_mail_no_content">
<div class="o_thread_title">No matches found</div>
@@ -97,11 +97,11 @@
</t>
<!--
- When a channel is empty
+ When a thread is empty
@param {mail.widget.Thread} widget
-->
- <div t-name="mail.EmptyChannel" class="o_mail_no_content">
+ <div t-name="mail.widget.Thread.Empty" class="o_mail_no_content">
<t t-if="options.threadID === 'mailbox_inbox'">
<div class="o_thread_title">Congratulations, your inbox is empty</div>
<div>New messages appear here.</div>