summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@openerp.com>2012-12-14 11:14:28 +0100
committerChristophe Matthieu <chm@openerp.com>2012-12-14 11:14:28 +0100
commit6e35fdb9f63e3d3c29d3bba99b4e8d32c74200d9 (patch)
tree9f9900675fbbcfee87e7e9e30ca9001e96f3cd1f /addons/mail/static/src/xml
parent86a1802556cae70401f450c15a9bd51f5ccf9249 (diff)
[FIX] mail: display of the placeholder
bzr revid: chm@openerp.com-20121214101428-7vnyjx2iyeel3wvv
Diffstat (limited to 'addons/mail/static/src/xml')
-rw-r--r--addons/mail/static/src/xml/mail.xml8
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 67449cca0ba..fb796bc9ed7 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" 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>