[IMP] mis_builder: remove unneeded div in mis widget

pull/189/head
Stéphane Bidoul 2016-05-15 18:18:39 +02:00
parent 180801d171
commit 27706de15c
1 changed files with 12 additions and 14 deletions

View File

@ -30,20 +30,18 @@
<t t-esc="c_value.description"/> <t t-esc="c_value.description"/>
</td> </td>
<t t-foreach="c_value.cols" t-as="value"> <t t-foreach="c_value.cols" t-as="value">
<td t-att="{'style': c_value.style}" class="mis_builder_amount"> <td t-att="{'style': value_value.style, 'title': value_value.val_c}" class="mis_builder_amount">
<div t-att="{'style': value_value.style, 'title': value_value.val_c}"> <t t-if="value_value.drilldown_arg">
<t t-if="value_value.drilldown_arg"> <a href="javascript:void(0)"
<a href="javascript:void(0)" class="mis_builder_drilldown"
class="mis_builder_drilldown" t-att-data-drilldown="JSON.stringify(value_value.drilldown_arg)"
t-att-data-drilldown="JSON.stringify(value_value.drilldown_arg)" >
> <t t-esc="value_value.val_r"/>
<t t-esc="value_value.val_r"/> </a>
</a> </t>
</t> <t t-if="!value_value.drilldown_arg">
<t t-if="!value_value.drilldown_arg"> <t t-esc="value_value.val_r"/>
<t t-esc="value_value.val_r"/> </t>
</t>
</div>
</td> </td>
</t> </t>
</tr> </tr>