diff options
| author | Thibault Delavallée <tde@openerp.com> | 2012-04-05 23:42:41 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2012-04-05 23:42:41 +0200 |
| commit | 73e9efa863e258806018cdd0422c13db2dbff345 (patch) | |
| tree | d2d80746cd773accc000e37b88c984c14d01ed0c /addons/mail/static/src/xml/mail.xml | |
| parent | 6148e1450aa0efeacedfc8fb9c77cdcc0605eea4 (diff) | |
[IMP] thread widget: improved layout (notification/email background color)
bzr revid: tde@openerp.com-20120405214241-rm72q22x1m0oq3z0
Diffstat (limited to 'addons/mail/static/src/xml/mail.xml')
| -rw-r--r-- | addons/mail/static/src/xml/mail.xml | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/addons/mail/static/src/xml/mail.xml b/addons/mail/static/src/xml/mail.xml index 5788a4cd69c..b2c72792b04 100644 --- a/addons/mail/static/src/xml/mail.xml +++ b/addons/mail/static/src/xml/mail.xml @@ -52,13 +52,15 @@ </div> </ul> - <li t-name="ThreadMsg" t-attf-class="{record.type} oe_mail_thread_msg oe_mail"> - <img class="oe_mail_msg_image oe_mail_oe_left" t-att-src="record.mini_url"/> - <div class="oe_mail_msg_content"> - <t t-if="record.type == 'email'"><t t-call="EmailDisplay" /></t> - <t t-if="record.type == 'notification' || record.type == 'comment'"><t t-call="NoteDisplay" /></t> + <li t-name="ThreadMsg" t-attf-class="oe_mail_thread_msg oe_mail"> + <div t-attf-class="{record.type}"> + <img class="oe_mail_msg_image oe_mail_oe_left" t-att-src="record.mini_url"/> + <div class="oe_mail_msg_content"> + <t t-if="record.type == 'email'"><t t-call="EmailDisplay" /></t> + <t t-if="record.type == 'notification' || record.type == 'comment'"><t t-call="NoteDisplay" /></t> + </div> + <t t-if="record.type == 'tmp'"><t t-call="ThreadDisplay" /></t> </div> - <t t-if="record.type == 'tmp'"><t t-call="ThreadDisplay" /></t> </li> <t t-name="NoteDisplay"> |
