bzr revid: apa@tinyerp.com-20120404104335-ds320kymruq0njja
This commit is contained in:
Amit Patel (OpenERP)
2012-04-04 16:13:35 +05:30
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -196,7 +196,7 @@
<h4 id="list" height="10px">
<a>
<t t-if="record.task.raw_value">
<button name="open_tasks" class="oe_project_buttons" type="object"><t t-esc="record.open_task.value" t-if="record.open_task.value &lt;= 1"> Task,</t><t t-esc="record.open_task.value" t-if="record.open_task.value > 1"> Tasks,</t></button>
<button name="open_tasks" class="oe_project_buttons" type="object"><t t-esc="record.open_task.value" t-if="record.open_task.value &lt;= 1"> Task</t><t t-esc="record.open_task.value" t-if="record.open_task.value > 1"> Tasks</t></button>
</t>
</a>
</h4>
+1 -1
View File
@@ -392,7 +392,7 @@
<xpath expr="//h4[@id='list']" position="inside">
<a>
<t t-if="record.issues.raw_value">
<button name="open_issues" class="oe_project_buttons" type="object"><t t-esc="record.total_issues.value" t-if="record.total_issues.value &lt;= 1"> Issue,</t><t t-esc="record.total_issues.value" t-if="record.total_issues.value > 1"> Issues,</t></button>
<button name="open_issues" class="oe_project_buttons" type="object"><t t-esc="record.total_issues.value" t-if="record.total_issues.value &lt;= 1"> Issue</t><t t-esc="record.total_issues.value" t-if="record.total_issues.value > 1"> Issues</t></button>
</t>
</a>
</xpath>
@@ -123,7 +123,7 @@
<xpath expr="//h4[@id='list']" position="inside">
<a>
<t t-if="record.phases.raw_value">
<button name="open_phase" class="oe_project_buttons" type="object"><t t-esc="record.open_phases.value" t-if="record.open_phases.value &lt;= 1"> Phase,</t><t t-esc="record.open_phases.value" t-if="record.open_phases.value > 1"> Phases,</t></button>
<button name="open_phase" class="oe_project_buttons" type="object"><t t-esc="record.open_phases.value" t-if="record.open_phases.value &lt;= 1"> Phase</t><t t-esc="record.open_phases.value" t-if="record.open_phases.value > 1"> Phases</t></button>
</t>
</a>
</xpath>
@@ -39,7 +39,7 @@
<xpath expr="//h4[@id='list']" position="inside">
<a>
<t t-if="record.timesheets.raw_value">
<button name="open_timesheets" class="oe_project_buttons" type="object"><t t-esc="record.total_timesheet.value" t-if="record.total_timesheet.value &lt;= 1"> Timesheet,</t><t t-esc="record.total_timesheet.value" t-if="record.total_timesheet.value > 1"> Timesheets,</t></button>
<button name="open_timesheets" class="oe_project_buttons" type="object"><t t-esc="record.total_timesheet.value" t-if="record.total_timesheet.value &lt;= 1"> Timesheet</t><t t-esc="record.total_timesheet.value" t-if="record.total_timesheet.value > 1"> Timesheets</t></button>
</t>
</a>
</xpath>