diff options
| author | Christophe Matthieu <chm@openerp.com> | 2012-12-20 16:55:58 +0100 |
|---|---|---|
| committer | Christophe Matthieu <chm@openerp.com> | 2012-12-20 16:55:58 +0100 |
| commit | d3e8a3ddeafe39174fac529f8501ff40b3441da3 (patch) | |
| tree | 11b8f763ceb71552530cb6489688f0f99b38fb7b | |
| parent | 4b930b2e4ae94a70788a7a8ad1cbd3b8e3afc771 (diff) | |
[IMP] mail: display author at recipients on compose message
bzr revid: chm@openerp.com-20121220155558-9pihqxo35koaitp6
| -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> |
