bzr revid: apa@tinyerp.com-20120328085927-hzcw0p32tr94i07i
This commit is contained in:
Amit Patel (OpenERP) 2012-03-28 14:29:27 +05:30
parent 68e5834302
commit df11d7174a
5 changed files with 21 additions and 17 deletions

View File

@ -193,12 +193,15 @@
</div>
<div class="oe_module_desc">
<h4 class="oe_project_font1"><a type="edit"><div class="oe_project_font"><field name="name"/></div></a></h4>
<div class="progress invoiced">
<br/>
<t t-esc="Math.round(record.effective_hours.raw_value)"/> hrs
<progress t-att-value="record.effective_hours.raw_value" t-att-max="record.total_hours.raw_value"></progress>
<t t-esc="Math.round(record.total_hours.raw_value)"/> hrs
</div>
<table border="0" width="350px">
<tr>
<td align="left" 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="50" height="50" align="center"/></button>
</t>
</td>
</tr>
</table>
</div>
<table border="0" width="350px">
<tr>
@ -207,13 +210,13 @@
<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="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>
<td align="right" valign="bottom">
<div class="progress invoiced">
<br/>
<t t-esc="Math.round(record.effective_hours.raw_value)"/> hrs
<progress t-att-value="record.effective_hours.raw_value" t-att-max="record.total_hours.raw_value"></progress>
<t t-esc="Math.round(record.total_hours.raw_value)"/> hrs
</div>
</td>
</tr>
</table>

View File

@ -38,7 +38,8 @@ font-size: 9px;
background-color: transparent;
border: hidden;
color: #0000FF;
min-height: 50px;
min-width: 50px;*
}
.oe_project_buttons:hover {

View File

@ -391,7 +391,7 @@
</field>
<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_issue/static/src/img/bug.png" width="18" height="18" align="top"/></button>
<button name="open_issues" class="oe_project_buttons" type="object"><img src="/project_issue/static/src/img/bug.png" width="50" height="50" align="center"/></button>
</t>
</xpath>
</field>

View File

@ -121,7 +121,7 @@
</field>
<xpath expr="//td[@class='buttons']" position="inside">
<t t-if="record.phases.raw_value">
<button name="open_phase" class="oe_project_buttons" type="object"><img src="/project_long_term/static/src/img/phases_icon.jpg" width="18" height="18" align="top"/></button>
<button name="open_phase" class="oe_project_buttons" type="object"><img src="/project_long_term/static/src/img/phases_icon.jpg" width="50" height="50" align="center"/></button>
</t>
</xpath>
</field>

View File

@ -34,7 +34,7 @@
</field>
<xpath expr="//td[@class='buttons']" position="inside">
<t t-if="record.timesheets.raw_value">
<button name="open_timesheets" class="oe_project_buttons" type="object"><img src="/project_timesheet/static/src/img/timesheet.png" width="18" height="18" align="top"/></button>
<button name="open_timesheets" class="oe_project_buttons" type="object"><img src="/project_timesheet/static/src/img/timesheet.png" width="50" height="50" align="center"/></button>
</t>
</xpath>
</field>