[IMP] Improved module and partners kanban view a bit

bzr revid: fme@openerp.com-20120524090214-nrd1yz3afrjwmny2
This commit is contained in:
Fabien Meghazi
2012-05-24 11:02:14 +02:00
parent cfe58b151e
commit 2a09a66192
3 changed files with 19 additions and 21 deletions
+3 -3
View File
@@ -76,9 +76,9 @@
<field name="complexity"/>
<templates>
<t t-name="kanban-box">
<div class="oe_module_vignette">
<div class="oe_module_vignette oe_kanban_auto_height">
<t t-set="installed" t-value="record.state.raw_value == 'installed'"/>
<a type="edit">
<a type="edit">
<img t-attf-src="#{record.icon.value}" class="oe_module_icon"/>
</a>
<div class="oe_module_desc">
@@ -86,7 +86,7 @@
<p class="oe_module_name">
<field name="name"/><br/>
<span t-if="record.complexity.raw_value == 'Expert'" class="oe_label oe_warning">Complex</span>
</p>
</p>
<button type="object" name="button_immediate_install" states="uninstalled" class="oe_button">Install</button>
<button t-if="installed" class="oe_button" disabled="disabled">Installed</button>
</div>