* Finish task#43173.

This commit is contained in:
xieqiyu
2021-10-13 14:53:33 +08:00
parent 26026cbf89
commit a28498a56b
8 changed files with 20 additions and 4 deletions
+6
View File
@@ -1,6 +1,12 @@
$(document).ready(function()
{
initChart();
$('.icon-exclamation-sign').hover(function(){
$('#desc').removeClass('hidden');
}, function(){
$('#desc').addClass('hidden');
});
});
function changeDate(begin, end)
+1
View File
@@ -107,6 +107,7 @@ $lang->report->mailTitle->task = " Aufgaben (%s),";
$lang->report->mailTitle->todo = " Todo (%s),";
$lang->report->mailTitle->testTask = " Test Aufgaben (%s),";
$lang->report->reportDesc = 'According to the Closed Execution Deviation Rate = ((Total Cost - Total Estimate) / Total Estimate), the Deviation Rate is n/a when the Total Estimate is 0.';
$lang->report->proVersion = '<a href="http://api.zentao.net/goto.php?item=proversion&from=reportpage" target="_blank">Testen Sie ZenTao Pro für mehr Informationen!</a>';
$lang->report->proVersionEn = '<a href="http://api.zentao.pm/goto.php?item=proversion&from=reportpage" target="_blank">Testen Sie ZenTao Pro für mehr Informationen!</a>';
+1
View File
@@ -107,6 +107,7 @@ $lang->report->mailTitle->task = " Task (%s),";
$lang->report->mailTitle->todo = " Todo (%s),";
$lang->report->mailTitle->testTask = " Request (%s),";
$lang->report->reportDesc = 'According to the Closed Execution Deviation Rate = ((Total Cost - Total Estimate) / Total Estimate), the Deviation Rate is n/a when the Total Estimate is 0.';
$lang->report->proVersion = '<a href="https://api.zentao.net/goto.php?item=proversion&from=reportpage" target="_blank">Try ZenTao Pro for more!</a>';
$lang->report->proVersionEn = '<a href="http://api.zentao.pm/goto.php?item=proversion&from=reportpage" target="_blank">Try ZenTao Pro for more!</a>';
+1
View File
@@ -107,6 +107,7 @@ $lang->report->mailTitle->task = " Tâches (%s),";
$lang->report->mailTitle->todo = " Agenda (%s),";
$lang->report->mailTitle->testTask = " Recettes (%s),";
$lang->report->reportDesc = 'According to the Closed Execution Deviation Rate = ((Total Cost - Total Estimate) / Total Estimate), the Deviation Rate is n/a when the Total Estimate is 0.';
$lang->report->proVersion = '<a href="https://www.zentao.pm/page/vs.html" target="_blank">Essayez ZenTao Pro pour en savoir plus !</a>';
$lang->report->proVersionEn = '<a href="https://www.zentao.pm/page/vs.html" target="_blank">Try ZenTao Pro for more!</a>';
+1
View File
@@ -107,6 +107,7 @@ $lang->report->mailTitle->task = " %s) nhiệm vụ,";
$lang->report->mailTitle->todo = " (%s) việc,";
$lang->report->mailTitle->testTask = " (%s) yêu cầu,";
$lang->report->reportDesc = 'According to the Closed Execution Deviation Rate = ((Total Cost - Total Estimate) / Total Estimate), the Deviation Rate is n/a when the Total Estimate is 0.';
$lang->report->proVersion = '<a href="https://api.zentao.net/goto.php?item=proversion&from=reportpage" target="_blank">Hãy thử ZenTao Pro để biết thêm!</a>';
$lang->report->proVersionEn = '<a href="http://api.zentao.pm/goto.php?item=proversion&from=reportpage" target="_blank">Hãy thử ZenTao Pro để biết thêm!</a>';
+1
View File
@@ -107,6 +107,7 @@ $lang->report->mailTitle->task = " 任务(%s),";
$lang->report->mailTitle->todo = " 待办(%s),";
$lang->report->mailTitle->testTask = " 测试版本(%s),";
$lang->report->reportDesc = '按照已关闭执行统计偏差率(偏差率 = (总消耗 - 总预计) / 总预计),总预计为0时偏差率为n/a。';
$lang->report->proVersion = '<a href="https://api.zentao.net/goto.php?item=proversion&from=reportpage" target="_blank">更多精彩,尽在专业版!</a>';
$lang->report->proVersionEn = '<a href="http://api.zentao.pm/goto.php?item=proversion&from=reportpage" target="_blank">Try ZenTao Pro for more!</a>';
+1
View File
@@ -107,6 +107,7 @@ $lang->report->mailTitle->task = " 任務(%s),";
$lang->report->mailTitle->todo = " 待辦(%s),";
$lang->report->mailTitle->testTask = " 測試版本(%s),";
$lang->report->reportDesc = '按照已關閉執行統計偏差率(偏差率 = (總消耗 - 總預計) / 總預計),總預計為0時偏差率為n/a。';
$lang->report->proVersion = '<a href="https://api.zentao.net/goto.php?item=proversion&from=reportpage" target="_blank">更多精彩,盡在專業版!</a>';
$lang->report->proVersionEn = '<a href="http://api.zentao.pm/goto.php?item=proversion&from=reportpage" target="_blank">Try ZenTao Pro for more!</a>';
+8 -4
View File
@@ -37,7 +37,11 @@
<div class='cell'>
<div class='panel'>
<div class="panel-heading">
<div class="panel-title"><?php echo $title;?></div>
<div class="panel-title">
<?php echo $title;?>
<i class="icon icon-exclamation-sign icon-rotate-180"></i>
<span class="hidden" id="desc"><?php echo $lang->report->reportDesc;?></span>
</div>
<nav class="panel-actions btn-toolbar"></nav>
</div>
<div data-ride='table'>
@@ -59,9 +63,9 @@
<td><?php echo $id;?></td>
<td class="text-left" title="<?php echo $execution->projectName;?>"><?php echo $execution->projectName;?></td>
<td class="text-left" title="<?php echo $execution->name;?>"><?php echo html::a($this->createLink('execution', 'view', "executionID=$id"), $execution->name);?></td>
<td><?php echo $execution->estimate;?></td>
<td><?php echo $execution->consumed;?></td>
<?php $deviation = $execution->consumed - $execution->estimate;?>
<td><?php echo round($execution->estimate, 2);?></td>
<td><?php echo round($execution->consumed, 2);?></td>
<?php $deviation = round($execution->consumed - $execution->estimate, 2);?>
<td class="deviation">
<?php
if($deviation > 0)