[IMP]improved kanban of task

bzr revid: mba@tinyerp.com-20140123122623-oxzab7u8ghlagfib
This commit is contained in:
Mahendra Barad (OpenERP)
2014-01-23 17:56:23 +05:30
parent 80c5401fc9
commit 9c347cc8d3
+15 -15
View File
@@ -509,21 +509,6 @@
<t t-if="record.date_deadline.raw_value and record.date_deadline.raw_value lt (new Date())" t-set="red">oe_kanban_text_red</t>
<span t-attf-class="#{red || ''}"><i><field name="date_deadline"/></i></span>
</div>
<div class="oe_kanban_bottom_right">
<table>
<tr>
<td groups="base.group_user">
<field name="kanban_state" class="oe_inline" widget="legend" options="{'action':'set_kanban_state'}" />
</td>
<td groups="base.group_user">
<field name="priority" class="oe_inline" widget="legend" options="{'action':'set_priority'}"/>
</td>
<td>
<img t-att-src="kanban_image('res.users', 'image_small', record.user_id.raw_value)" t-att-title="record.user_id.value" width="24" height="24" class="oe_kanban_avatar"/>
</td>
</tr>
</table>
</div>
<div class="oe_kanban_footer_left">
<span groups="project.group_time_work_estimation_tasks" title="Remaining hours">
<span class="oe_e">N</span>
@@ -534,6 +519,21 @@
<t t-raw="record.message_summary.raw_value"/>
<field name="categ_ids"/>
</div>
<div class="oe_kanban_bottom_right">
<table>
<tr>
<td groups="base.group_user">
<field name="kanban_state" widget="legend" options="{'action':'set_kanban_state'}" />
</td>
<td groups="base.group_user">
<field name="priority" class="oe_inline" widget="legend" options="{'action':'set_priority'}"/>
</td>
<td>
<img t-att-src="kanban_image('res.users', 'image_small', record.user_id.raw_value)" t-att-title="record.user_id.value" width="24" height="24" class="oe_kanban_avatar"/>
</td>
</tr>
</table>
</div>
</div>
<div class="oe_clear"></div>
</div>