[ADD] Add infinity image in kanban column when notification are more than 99.

bzr revid: jra@tinyerp.com-20121031054445-0g0r5370q2wpbfc6
This commit is contained in:
Jiten (OpenERP) 2012-10-31 11:14:45 +05:30
commit 7184bd9151
2 changed files with 4 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@ -47,7 +47,10 @@
<div class="oe_fold_column">
<div t-attf-class="oe_kanban_group_title #{widget.undefined_title ? 'oe_kanban_group_title_undefined' : ''}">
<span><t t-esc="widget.title"/></span>
<span class="oe_kanban_group_length oe_tag" style="position:relative; top:-2px;"><t t-esc="widget.group.get('length')"/></span>
<span class="oe_kanban_group_length oe_tag" style="position:relative; top:-2px;">
<t t-if="widget.group.get('length') > 99"> <img t-att-src='_s + "/web/static/src/img/infinity.png"' width="16" height="12"/> </t>
<t t-if="widget.group.get('length') lt= 99"> <t t-esc="widget.group.get('length')"/> </t>
</span>
</div>
<ul class="oe_kanban_aggregates">
<li t-foreach="widget.aggregates" t-as="aggregate">