Browse Source

📺 mail_to: Corrected case, when recipients more than 4

Signed-off-by: Vildan Safin <safin@it-projects.info>
pull/299/head
Vildan Safin 4 years ago
parent
commit
e9a5a54a5c
  1. 5
      mail_to/static/src/xml/recipient.xml

5
mail_to/static/src/xml/recipient.xml

@ -15,11 +15,6 @@
<i t-esc="message.partner_ids[i][1]"/><t t-if="i &lt; message.partner_ids.length - 1">; </t><t t-else="message.channel_ids.length > 0 and message.partner_ids.length &lt; 4">; </t> <i t-esc="message.partner_ids[i][1]"/><t t-if="i &lt; message.partner_ids.length - 1">; </t><t t-else="message.channel_ids.length > 0 and message.partner_ids.length &lt; 4">; </t>
</a> </a>
</t> </t>
<t t-if="message.partner_ids.length &gt; 4">
<span t-att-title="more_recipients">
and <t t-esc="message.partner_ids.length - 4"/> more
</span>
</t>
</t> </t>
<t t-if="message.channel_names"> <t t-if="message.channel_names">
<t t-foreach="message.channel_ids.length" t-as="i"> <t t-foreach="message.channel_ids.length" t-as="i">

Loading…
Cancel
Save