[FIX] im_livechat,mail: don't translate html data-type argument

as it is only there for a technical purpose (used in JS to bind event handlers)
This commit is contained in:
Aaron Bohy
2015-12-29 15:59:54 +01:00
parent 469874612c
commit 3f370651c7
2 changed files with 8 additions and 8 deletions
@@ -3,8 +3,8 @@
<t t-extend="mail.chat.Sidebar">
<t t-jquery=".o_mail_chat_sidebar" t-operation="append">
<t t-set="channel_type">livechat</t>
<t t-set="disable_add_channel">true</t>
<t t-set="channel_type" t-value="'livechat'"/>
<t t-set="disable_add_channel" t-value="true"/>
<t t-call="mail.chat.SidebarTitle">
<t t-set="channel_title">Livechat</t>
</t>
+6 -6
View File
@@ -27,31 +27,31 @@
<span class="fa fa-star-o"/> Starred
</div>
<t t-set="channel_type">public</t>
<t t-set="channel_type" t-value="'public'"/>
<t t-call="mail.chat.SidebarTitle">
<t t-set="channel_title">Channels</t>
</t>
<t t-call="mail.chat.SidebarItems">
<t t-set="display_hash">true</t>
<t t-set="display_hash" t-value="true"/>
<t t-set="input_placeholder">Add a channel</t>
</t>
<t t-set="channel_type">dm</t>
<t t-set="channel_type" t-value="'dm'"/>
<t t-call="mail.chat.SidebarTitle">
<t t-set="channel_title">Direct Messages</t>
</t>
<t t-call="mail.chat.SidebarItems">
<t t-set="display_status">true</t>
<t t-set="display_status" t-value="true"/>
<t t-set="input_placeholder">Open chat</t>
</t>
<t t-set="channel_type">private</t>
<t t-set="channel_type" t-value="'private'"/>
<t t-call="mail.chat.SidebarTitle">
<t t-set="channel_title">Private Channels</t>
</t>
<t t-call="mail.chat.SidebarItems">
<t t-set="input_placeholder">Add a channel</t>
<t t-set="display_hash">true</t>
<t t-set="display_hash" t-value="true"/>
</t>
</div>
</t>