[IMP] Added code for the notification numbers when number > 99 than infinity image will be display.

bzr revid: psa@tinyerp.com-20121018124353-gf7h6t44lirh8rg3
This commit is contained in:
Paramjit Singh Sahota 2012-10-18 18:13:53 +05:30
parent 080994c31c
commit ba7ed6e0fd
2 changed files with 7 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -47,7 +47,13 @@
<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.gif"' width="20" height="20"/>
</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">