.openerp .oe_mail .oe_msg.oe_msg_indented .oe_msg_content{
padding-top:2px;
}
+/* b) Votes (likes) */
+.openerp .oe_mail .oe_mail_vote_count{
+ display: inline;
+ position: relative;
+ background: #7C7BAD;
+ color: white;
+ text-shadow: none;
+ border-radius: 3px;
+ margin: 0px;
+ padding-left: 3px;
+ padding-right: 18px;
+ margin-right: 3px;
+}
+.openerp .oe_mail .oe_mail_vote_count .oe_e{
+ position: absolute;
+ bottom: 1px;
+ right: 2px;
+ font-size: 26px;
+}
-/* b) Message action icons */
+/* c) Message action icons */
.openerp .oe_mail .oe_msg.oe_msg_unread .oe_unread{
display:none;
-->
<span t-name="mail.thread.message.vote">
- <span class="oe_mail_vote_count">
- <t t-if='widget.has_voted'>
- You
- </t>
- <t t-if='(widget.vote_nb - (widget.has_voted ? 1 : 0)) > 0'>
- <t t-if='widget.has_voted'> and </t>
- <t t-raw="(widget.vote_nb - (widget.has_voted ? 1 : 0))"/>
- <t t-esc="widget.vote_nb"/> people
- </t>
- <t t-if='widget.vote_nb'>
- like
- </t>
+ <span class="oe_mail_vote_count" t-if='widget.vote_nb > 0'>
+ <t t-raw='widget.vote_nb' />
+ <span class='oe_e'>8</span>
</span>
<a href='#' t-attf-class="oe_msg_vote">
<t t-if="!widget.has_voted">like</t>