Added icons to kanban label for followers and messages

bzr revid: mit@openerp.com-20120709172453-tsvtcz007rzitvy1
This commit is contained in:
Minh Tran 2012-07-09 19:24:53 +02:00
parent d456ebd717
commit a33b11a25a
2 changed files with 2 additions and 2 deletions

View File

@ -316,7 +316,7 @@
<t t-if="record.date_action.raw_value"> : </t>
<field name="title_action"/>
</div>
<div class="oe_right">
<div class="oe_kanban_bottom_right">
<a t-if="record.priority.raw_value == 1" type="object" name="set_normal_priority" class="oe_e oe_star_on">7</a>
<a t-if="record.priority.raw_value != 1" type="object" name="set_high_priority" class="oe_e oe_star_off">7</a>
<!--

View File

@ -69,7 +69,7 @@ class mail_thread(osv.Model):
subscriber_ids = self.message_get_subscribers(cr, uid, [id], context=context)
res[id] = {
'message_ids': message_ids,
'message_summary': "<span>Msg: %d</span> . <span>Fol: %d</span>" % (len(message_ids), len(subscriber_ids)),
'message_summary': "<span><span class='oe_e'>9</span> %d</span> . <span><span class='oe_e'>+</span> %d</span>" % (len(message_ids), len(subscriber_ids)),
}
return res