summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml/discuss.xml
diff options
context:
space:
mode:
authorAlexandre Kühn <aku@odoo.com>2018-12-05 14:35:19 +0000
committerAlexandre Kühn <aku@odoo.com>2018-12-06 14:51:28 +0000
commitf372ac541f6a90a741253acdfd35cf5f2cc97696 (patch)
tree7a92955ca50427020c6e7d1625d860595437952c /addons/mail/static/src/xml/discuss.xml
parentef1c342b7c827a4f9822d499beb31f439e967017 (diff)
[IMP] mail: rename DM conversation
This commit adds the possibility to customize the name of a DM conversation. To do so, click on the gear icon when hovering on a DM in the discuss sidebar. This feature intentionally removes the access to the settings of a DM, because the settings view only makes sense for non-DM conversations. Task-ID 1881001
Diffstat (limited to 'addons/mail/static/src/xml/discuss.xml')
-rw-r--r--addons/mail/static/src/xml/discuss.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/addons/mail/static/src/xml/discuss.xml b/addons/mail/static/src/xml/discuss.xml
index 90084a886bd..98430c81ce1 100644
--- a/addons/mail/static/src/xml/discuss.xml
+++ b/addons/mail/static/src/xml/discuss.xml
@@ -218,6 +218,11 @@
<input type="text" class="o_input o_mail_discuss_partner_invite_input" id="mail_search_partners"/>
</div>
+ <!-- Rename channel dialog's content -->
+ <div t-name="mail.RenameConversationDialog">
+ <input type="text" class="o_input o_mail_discuss_rename_channel_input"/>
+ </div>
+
<div t-name="mail.ModeratorRejectMessageDialog">
<input class="form-control" type="text" id="message_title" placeholder="Subject" value="Message Rejected"/>
<textarea class="form-control mt16" id="reject_message" placeholder="Mail Body">Your message was rejected by moderator.</textarea>