bzr revid: apa@tinyerp.com-20120328070717-z4hkm3ip526h73oj
This commit is contained in:
Amit Patel (OpenERP)
2012-03-28 12:37:17 +05:30
parent 0b24e4c532
commit 9eefd74b7b
2 changed files with 5 additions and 10 deletions
+1 -1
View File
@@ -206,7 +206,7 @@
<a type="edit"><img class="oe_topbar_avatar" data-default-src="/web/static/src/img/topbar-avatar.png" src="/web/static/src/img/topbar-avatar.png"/></a>
</t>
</td>
<td align="right" valign="bottom" class="tasks">
<td align="right" valign="bottom" class="buttons">
<t t-if="record.task.raw_value">
<button name="open_tasks" class="oe_project_buttons" type="object"><img src="/project/static/src/img/tasks.png" width="20" height="20" align="top"/></button>
</t>
+4 -9
View File
@@ -386,18 +386,13 @@
<field name="type">kanban</field>
<field name="inherit_id" ref="project.view_project_kanban"/>
<field name="arch" type="xml">
<field name="task" position="after">
<field name="issues"/>
</field>
<xpath expr="//td[@class='tasks']" position="replace">
<td class="issues" align="right">
<button name="open_tasks" class="oe_project_buttons" type="object"><img src="/project/static/src/img/tasks.png" width="20" height="20" align="top"/></button>
<t t-if="record.issues.raw_value == 1">
<button name="open_issues" class="oe_project_buttons" type="object"><img src="/project/static/src/img/bug.png" width="18" height="18" align="top"/></button>
</t>
</td>
<xpath expr="//td[@class='buttons']" position="inside">
<t t-if="record.issues.raw_value">
<button name="open_issues" class="oe_project_buttons" type="object"><img src="/project/static/src/img/bug.png" width="18" height="18" align="top"/></button>
</t>
</xpath>
</field>
</record>