[MERGE] from trunk-improve-notification-infinity-psa; Improved notification when it will be more than 99 than display 99+
bzr revid: chm@openerp.com-20121128094131-xewcni2ee1sirqep
This commit is contained in:
commit
71e999d611
|
@ -390,7 +390,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"> 99+ </t><t t-if="menu.needaction_counter <= 99"> <t t-esc="menu.needaction_counter"/> </t>
|
||||||
</div>
|
</div>
|
||||||
</t>
|
</t>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -47,7 +47,9 @@
|
||||||
<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"> 99+ </t><t t-if="widget.group.get('length') <= 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