summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml/chatter.xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/mail/static/src/xml/chatter.xml')
-rw-r--r--addons/mail/static/src/xml/chatter.xml28
1 files changed, 17 insertions, 11 deletions
diff --git a/addons/mail/static/src/xml/chatter.xml b/addons/mail/static/src/xml/chatter.xml
index e6cd3995bc7..7a5959789cf 100644
--- a/addons/mail/static/src/xml/chatter.xml
+++ b/addons/mail/static/src/xml/chatter.xml
@@ -3,28 +3,30 @@
<!--
Chatter composer
+
+ @param {mail.composer.Chatter} widget
-->
- <t t-name="mail.chatter.ChatComposer" t-extend="mail.ChatComposer">
+ <t t-name="mail.chatter.Composer" t-extend="mail.Composer">
<!-- Insert information before the composer -->
<t t-jquery=".o_composer_container" t-operation="before">
<!-- New message composer -->
- <t t-if="!widget.options.is_log">
+ <t t-if="!widget.options.isLog">
<!-- Text for followers -->
<small class="o_chatter_composer_info">
<b class="text-muted">To: </b>
<em class="text-muted">Followers of </em>
<b>
- <t t-if="widget.options.record_name">
- &#32;&quot;<t t-esc="widget.options.record_name"/>&quot;
+ <t t-if="widget.options.recordName">
+ &#32;&quot;<t t-esc="widget.options.recordName"/>&quot;
</t>
- <t t-if="!widget.options.record_name">
+ <t t-if="!widget.options.recordName">
this document
</t>
</b>
</small>
<!-- List of followers -->
- <div class="o_composer_suggested_partners">
- <t t-foreach='widget.suggested_partners' t-as='recipient'>
+ <div class="o_composer_suggestedPartners">
+ <t t-foreach='widget.suggestedPartners' t-as='recipient'>
<div t-attf-title="Add as recipient and follower (reason: #{recipient.reason})">
<div class="o_checkbox">
<input type="checkbox"
@@ -48,15 +50,19 @@
<!--
Chatter (mail_thread widget) buttons
+
+ @param {boolean} [logNoteButton]
+ @param {boolean} [newMessageButton]
+ @param {boolean} [scheduleActivityButton]
-->
- <t t-name="mail.Chatter.Buttons">
- <button t-if="new_message_btn" type="button" class="btn btn-sm btn-link o_chatter_button_new_message" title="Send a message" disabled="disabled">
+ <t t-name="mail.chatter.Buttons">
+ <button t-if="newMessageButton" type="button" class="btn btn-sm btn-link o_chatter_button_new_message" title="Send a message" disabled="disabled">
Send message
</button>
- <button t-if="log_note_btn" class="btn btn-sm btn-link o_chatter_button_log_note" title="Log a note. Followers will not be notified." disabled="disabled">
+ <button t-if="logNoteButton" class="btn btn-sm btn-link o_chatter_button_log_note" title="Log a note. Followers will not be notified." disabled="disabled">
Log note
</button>
- <button t-if="schedule_activity_btn" class="btn btn-sm btn-link o_chatter_button_schedule_activity" title="Log or schedule an activity" disabled="disabled">
+ <button t-if="scheduleActivityButton" class="btn btn-sm btn-link o_chatter_button_schedule_activity" title="Log or schedule an activity" disabled="disabled">
<i class="fa fa-clock-o" role="img" aria-label="Dates" title="Dates"/> <t t-if="isMobile">Activity</t><t t-else="">Schedule activity</t>
</button>
</t>