[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:
commit
7184bd9151
Binary file not shown.
After Width: | Height: | Size: 2.8 KiB |
|
@ -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"> <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>
|
</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