summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2015-10-07 10:43:38 +0200
committerAaron Bohy <aab@odoo.com>2015-10-07 15:09:33 +0200
commit4f9c9adf3715d25d766736179282ee3dccbea402 (patch)
tree8f667d28a90a1f062031cfe7f298f6ba1cb1de59 /addons/mail/static/src/xml
parent85be3dc3eca1ed1468b5d0608bb32d0afa7eda85 (diff)
[FIX] mail: chatter: various fixes
- Add recipients as followers, and automatically refresh the follower's list (before this rev., one needed to reload the record to see the followes' list updated) - Don't display needactions on chatter's messages - Simplify buttons of suggested partner's dialog, as it should only offer two possibilities: Save or Cancel - Replace unnecessary t-raw's by t-esc's
Diffstat (limited to 'addons/mail/static/src/xml')
-rw-r--r--addons/mail/static/src/xml/chatter.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/mail/static/src/xml/chatter.xml b/addons/mail/static/src/xml/chatter.xml
index 51b0fc78eed..72a1c7aaeae 100644
--- a/addons/mail/static/src/xml/chatter.xml
+++ b/addons/mail/static/src/xml/chatter.xml
@@ -19,7 +19,7 @@
<label>Activity</label>
<select class="o_chatter_composer_subtype_select">
<t t-foreach="widget.options.internal_subtypes" t-as="subtype">
- <option t-att-value="subtype['id']"><t t-raw="subtype['name']"/></option>
+ <option t-att-value="subtype['id']"><t t-esc="subtype['name']"/></option>
</t>
</select>
</div>
@@ -30,7 +30,7 @@
<span class="o_chatter_composer_info">
To: Followers of
<t t-if="widget.options.record_name">
- <t t-raw="'&quot;' + widget.options.record_name + '&quot;'"/>
+ &quot;<t t-esc="widget.options.record_name"/>&quot;
</t>
<t t-if="!widget.options.record_name">
this document
@@ -157,7 +157,7 @@
t-att-id="'input_mail_followers_subtype_'+record.id+(dialog ? '_in_dialog': '')"
t-att-data-id="record.id" t-att-name="record.name" class="o_subtype_checkbox"/>
<span t-att-for="'input_mail_followers_subtype_'+record.id+(dialog ? '_in_dialog': '')">
- <t t-raw="record.name"/>
+ <t t-esc="record.name"/>
</span>
</li>
</t>