diff options
| author | Thibault Delavallée <tde@odoo.com> | 2017-02-15 11:39:42 +0100 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2017-02-21 10:39:42 +0100 |
| commit | 21720f0a3f2cdaa9d0d093896c29b027e7d7e0e1 (patch) | |
| tree | 78ec7b5a0a7e5b13402fe39866934443e5ad7e5b /addons/mail/data | |
| parent | b4d8a270e164ab877e9c521f48870b29adc3cb17 (diff) | |
[FIX] mail: slighty improve notification email layout
* Limit company image to match buttons size and avoid badly
sized image
* Add a margin below internal note notice because it currently
overlaps with actual email content
* Avoid having signature direclty included in message by
enclosing body in a div
Diffstat (limited to 'addons/mail/data')
| -rw-r--r-- | addons/mail/data/mail_data.xml | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/addons/mail/data/mail_data.xml b/addons/mail/data/mail_data.xml index bf176b50396..f4d9edfda05 100644 --- a/addons/mail/data/mail_data.xml +++ b/addons/mail/data/mail_data.xml @@ -110,7 +110,7 @@ % endif </td> <td valign="center" align="right"> - <img src="/logo.png" style="padding: 0px; margin: 0px; height: auto; width: 80px;" alt="${user.company_id.name}"> + <img src="/logo.png" style="padding: 0px; margin: 0px; height: auto; max-width: 80px; max-height: 40px;" alt="${user.company_id.name}"> </td> </tr> <tr> @@ -118,16 +118,18 @@ <hr width="100%" style="background-color:rgb(204,204,204);border:medium none;clear:both;display:block;font-size:0px;min-height:1px;line-height:0; margin:10px 0;"> % if ctx.get('subtype') and ctx.get('subtype').internal: - <span style="background-color: #f2dede; padding: 5px;"> - <strong>Internal note</strong>: replies are not sent to followers. - </span> + <p style="background-color: #f2dede; padding: 5px; margin-bottom: 16px;"> + <strong>Internal communication</strong>: Replying will post an internal note. Followers won't receive any email notification. + </p> % endif </td> </tr> </tbody></table> </div> % endif -${object.body | safe} +<div> + ${object.body | safe} +</div> % if ctx.get('tracking'): <ul> % for tracking in ctx['tracking'] |
