[IMP] Improved notification when it will be more than 99 than display infinity symbol instead of numbers.

bzr revid: jra@tinyerp.com-20121123111618-3385od7enoqq7egn
This commit is contained in:
Jiten (OpenERP) 2012-11-23 16:46:18 +05:30
commit 6e922eabcc
2 changed files with 5 additions and 2 deletions

View File

@ -385,7 +385,7 @@
<t t-esc="menu.name"/>
<t t-if="menu.needaction_enabled and menu.needaction_counter">
<div class="oe_tag oe_tag_dark oe_menu_counter">
<t t-esc="menu.needaction_counter"/>
<t t-if="menu.needaction_counter > 99"> &#8734; </t><t t-if="menu.needaction_counter lt= 99"> <t t-esc="menu.needaction_counter"/> </t>
</div>
</t>
</a>

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"> &#8734; </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">