summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml/mail.xml
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@openerp.com>2012-10-12 17:25:05 +0200
committerChristophe Matthieu <chm@openerp.com>2012-10-12 17:25:05 +0200
commita88378cd4c46b16e33e2dae335f678a84581383d (patch)
tree8ddd95f59a6a43b6d89cce6ceac2d1f56795c4d2 /addons/mail/static/src/xml/mail.xml
parentcdff3ac73cb1d0f6b87269c3667d9040904e5290 (diff)
[IMP]mail: stared/unstared
bzr revid: chm@openerp.com-20121012152505-1rmms2k10vjr3yd4
Diffstat (limited to 'addons/mail/static/src/xml/mail.xml')
-rw-r--r--addons/mail/static/src/xml/mail.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/addons/mail/static/src/xml/mail.xml b/addons/mail/static/src/xml/mail.xml
index a9c32649026..f2eebe67f4e 100644
--- a/addons/mail/static/src/xml/mail.xml
+++ b/addons/mail/static/src/xml/mail.xml
@@ -185,6 +185,7 @@
<!-- message actions (read/unread, reply, delete...) -->
<ul class="oe_header">
<li class="placeholder-mail-vote"><t t-call="mail.thread.message.vote"/></li>
+ <li class="placeholder-mail-star"><t t-call="mail.thread.message.star"/></li>
<li t-if="!widget.options.thread.display_on_flat" title="Read" class="oe_read"><a class="oe_read oe_e">W</a></li>
<li t-if="!widget.options.thread.display_on_flat" title="Set back to unread" class="oe_unread"><a class="oe_unread oe_e">h</a></li>
<li title="Quick reply"><a class="oe_reply oe_e">)</a></li>
@@ -285,4 +286,13 @@
</button>
</span>
+ <!-- mail.thread.message.star
+ Template used to display stared/unstared message in a mail.message
+ -->
+ <span t-name="mail.thread.message.star">
+ <span class="oe_left">
+ <button t-attf-class="oe_mail_starbox oe_tag #{widget.has_stared?'oe_stared':''}">*</button>
+ </span>
+ </span>
+
</template>