bzr revid: apa@tinyerp.com-20120404113146-ls123w7pp1uvokzs
This commit is contained in:
Amit Patel (OpenERP)
2012-04-04 17:01:46 +05:30
parent 70063b2953
commit ba0d6ac4c5
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-if="record.open_task.value &lt;= 1"> Task</t><t t-if="record.open_task.value &gt; 1"> Tasks</t>(<t t-esc="record.open_task.value"/>)</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-if="record.total_issues.value &lt;= 1"> Issue</t><t t-if="record.total_issues.value > 1"> Issues</t>(<t t-esc="record.total_issues.value"/>)</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-if="record.open_phases.value &lt;= 1"> Phase</t><t t-if="record.open_phases.value > 1"> Phases</t>(<t t-esc="record.open_phases.value"/>)</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-if="record.total_timesheet.value &lt;= 1"> Timesheet</t><t t-if="record.total_timesheet.value > 1"> Timesheets</t>(<t t-esc="record.total_timesheet.value"/>)</button>
</t>
</a>
</xpath>