diff options
Diffstat (limited to 'addons/mail/static/src/xml/mail.xml')
| -rw-r--r-- | addons/mail/static/src/xml/mail.xml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/addons/mail/static/src/xml/mail.xml b/addons/mail/static/src/xml/mail.xml index b8dce7f3468..c3be27d8191 100644 --- a/addons/mail/static/src/xml/mail.xml +++ b/addons/mail/static/src/xml/mail.xml @@ -126,6 +126,11 @@ <t t-if="!widget.options.show_link" t-raw="partner[1]"/> </span><t t-set="inc" t-value="inc+1"/> </t> + + <t t-if="widget.partner_ids.length and widget.author_id" t-raw="', '"/> + <a t-if="widget.author_id and widget.options.show_link and widget.author_id[0]" t-attf-href="#model=res.partner&id=#{widget.author_id[0]}"><t t-raw="widget.author_id[1]"/></a> + <span t-if="widget.author_id and (!widget.options.show_link or !widget.author_id[0])"><t t-raw="widget.author_id[1]"/></span> + <t t-if="widget.partner_ids.length>=3"> <span class="oe_more">, <a><t t-raw="widget.partner_ids.length-3"/> others...</a></span> <a class="oe_more_hidden"><<<</a> @@ -238,7 +243,7 @@ <div class="oe_msg_attachment_list"></div> </t> <a t-if="widget.author_id and widget.options.show_link and widget.author_id[0]" t-attf-href="#model=res.partner&id=#{widget.author_id[0]}"><t t-raw="widget.author_id[1]"/></a> - <span t-if="widget.author_id and (!widget.options.show_link or widget.author_id[0])"><t t-raw="widget.author_id[1]"/></span> + <span t-if="widget.author_id and (!widget.options.show_link or !widget.author_id[0])"><t t-raw="widget.author_id[1]"/></span> <span class='oe_subtle'>•</span> <span t-att-title="widget.date"><t t-raw="widget.timerelative"/></span> <span t-if="!widget.options.readonly" class='oe_subtle'>•</span> |
