Browse Source

[IMP] hide function images if result is null;

pull/111/head
Sylvain LE GAL 10 years ago
parent
commit
90c0c4c6d2
  1. 4
      web_dashboard_tile/view/tile.xml

4
web_dashboard_tile/view/tile.xml

@ -72,7 +72,7 @@
<div style="padding-left: 0.5em; height: 115px;"> <div style="padding-left: 0.5em; height: 115px;">
</div> </div>
<t t-if="record.field_id.raw_value != '' and record.field_function.raw_value != ''">
<t t-if="record.field_id.raw_value != '' and record.field_function.raw_value != '' and record.count.raw_value !=0">
<div class="tile_count_with_computed_value"> <div class="tile_count_with_computed_value">
<span><field name="count"/></span> <span><field name="count"/></span>
</div> </div>
@ -81,7 +81,7 @@
<span><field name="computed_value"/></span> <span><field name="computed_value"/></span>
</div> </div>
</t> </t>
<t t-if="!(record.field_id.raw_value != '' and record.field_function.raw_value != '')">
<t t-if="!(record.field_id.raw_value != '' and record.field_function.raw_value != '' and record.count.raw_value !=0)">
<div class="tile_count_without_computed_value"> <div class="tile_count_without_computed_value">
<span><field name="count"/></span> <span><field name="count"/></span>
</div> </div>

Loading…
Cancel
Save