diff options
| author | Christophe Matthieu <chm@openerp.com> | 2012-12-27 14:59:48 +0100 |
|---|---|---|
| committer | Christophe Matthieu <chm@openerp.com> | 2012-12-27 14:59:48 +0100 |
| commit | 50ceb88012ef2041ccd5641972e0e98df6c9cb4b (patch) | |
| tree | 0be07d977fbff32f7430c967dd0098f3a2f300e3 /addons/mail/static/src/xml/mail.xml | |
| parent | 4d62a67e921008eb0bbf190429cc429053247e94 (diff) | |
| parent | 09dd7f22a07c549a46542ecc81d55542235e815c (diff) | |
[MERGE] mail: convert compact textarea in div for id rendering
bzr revid: chm@openerp.com-20121227135948-81vcv8737ztsyc6n
Diffstat (limited to 'addons/mail/static/src/xml/mail.xml')
| -rw-r--r-- | addons/mail/static/src/xml/mail.xml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/addons/mail/static/src/xml/mail.xml b/addons/mail/static/src/xml/mail.xml index d48665f684f..c1a32a2fe89 100644 --- a/addons/mail/static/src/xml/mail.xml +++ b/addons/mail/static/src/xml/mail.xml @@ -39,9 +39,11 @@ </div> </div> <div t-if="widget.show_compact_message and !widget.show_composer and !widget.options.readonly" t-attf-class="oe_msg oe_msg_composer_compact #{widget.thread_level and widget.options.display_indented_thread > -1 ? 'oe_msg_indented' : ''}"> - <textarea t-if="widget.options.compose_placeholder" class="field_text oe_compact" t-att-placeholder="widget.options.compose_placeholder"/> - <textarea t-if="!widget.options.compose_placeholder and !widget.options.view_mailbox" class="field_text oe_compact" placeholder="Write to the followers of this document..."/> - <textarea t-if="!widget.options.compose_placeholder and widget.options.view_mailbox" class="field_text oe_compact" placeholder="Share with my followers..."/> + <div class="field_text oe_compact"> + <t t-if="widget.options.compose_placeholder" t-raw="widget.options.compose_placeholder"/> + <t t-if="!widget.options.compose_placeholder and !widget.options.view_mailbox">Write to the followers of this document...</t> + <t t-if="!widget.options.compose_placeholder and widget.options.view_mailbox">Share with my followers...</t> + </div> </div> <span t-if="!(widget.show_compact_message and !widget.show_composer) and !widget.show_composer" class="oe_placeholder_compose"></span> </t> |
