[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:
commit
6e922eabcc
|
@ -385,7 +385,7 @@
|
||||||
<t t-esc="menu.name"/>
|
<t t-esc="menu.name"/>
|
||||||
<t t-if="menu.needaction_enabled and menu.needaction_counter">
|
<t t-if="menu.needaction_enabled and menu.needaction_counter">
|
||||||
<div class="oe_tag oe_tag_dark oe_menu_counter">
|
<div class="oe_tag oe_tag_dark oe_menu_counter">
|
||||||
<t t-esc="menu.needaction_counter"/>
|
<t t-if="menu.needaction_counter > 99"> ∞ </t><t t-if="menu.needaction_counter lt= 99"> <t t-esc="menu.needaction_counter"/> </t>
|
||||||
</div>
|
</div>
|
||||||
</t>
|
</t>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -47,7 +47,10 @@
|
||||||
<div class="oe_fold_column">
|
<div class="oe_fold_column">
|
||||||
<div t-attf-class="oe_kanban_group_title #{widget.undefined_title ? 'oe_kanban_group_title_undefined' : ''}">
|
<div t-attf-class="oe_kanban_group_title #{widget.undefined_title ? 'oe_kanban_group_title_undefined' : ''}">
|
||||||
<span><t t-esc="widget.title"/></span>
|
<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"> ∞ </t>
|
||||||
|
<t t-if="widget.group.get('length') lt= 99"> <t t-esc="widget.group.get('length')"/> </t>
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<ul class="oe_kanban_aggregates">
|
<ul class="oe_kanban_aggregates">
|
||||||
<li t-foreach="widget.aggregates" t-as="aggregate">
|
<li t-foreach="widget.aggregates" t-as="aggregate">
|
||||||
|
|
Loading…
Reference in New Issue