* Finish task #38165.

This commit is contained in:
tianshujie98
2021-05-12 11:45:23 +08:00
parent 7ff5ccae12
commit f986caf098
+8 -8
View File
@@ -229,7 +229,7 @@
<tr>
<td colspan="4">
<?php $progress = ($execution->totalConsumed + $execution->totalLeft) ? floor($execution->totalConsumed / ($execution->totalConsumed + $execution->totalLeft) * 1000) / 1000 * 100 : 0;?>
<?php echo $lang->execution->progress;?> <em><?php echo $progress . $lang->percent;?></em> &nbsp;
<?php echo $lang->execution->progress;?> <?php echo $progress . $lang->percent;?> &nbsp;
<div class="progress inline-block">
<div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="<?php echo $progress;?>" aria-valuemin="0" aria-valuemax="100" style="width: <?php echo $progress . $lang->percent;?>"></div>
</div>
@@ -239,23 +239,23 @@
<th><?php echo $lang->execution->begin;?></th>
<td><?php echo $execution->begin;?></td>
<th><?php echo $lang->execution->totalEstimate;?></th>
<td><em><?php echo (float)$execution->totalEstimate . $lang->execution->workHour;?></em></td>
<td><?php echo (float)$execution->totalEstimate . $lang->execution->workHour;?></td>
</tr>
<tr>
<th><?php echo $lang->execution->end;?></th>
<td><?php echo $execution->end;?></td>
<th><?php echo $lang->execution->totalConsumed;?></th>
<td><em><?php echo (float)$execution->totalConsumed . $lang->execution->workHour;?></em></td>
<td><?php echo (float)$execution->totalConsumed . $lang->execution->workHour;?></td>
</tr>
<tr>
<th><?php echo $lang->execution->totalDays;?></th>
<td><?php echo $execution->days;?></td>
<th><?php echo $lang->execution->totalLeft;?></th>
<td><em><?php echo (float)$execution->totalLeft . $lang->execution->workHour;?></em></td>
<td><?php echo (float)$execution->totalLeft . $lang->execution->workHour;?></td>
</tr>
<tr>
<th><?php echo $lang->execution->totalHours;?></th>
<td><em><?php echo (float)$execution->totalHours . $lang->execution->workHour;?></em></td>
<td><?php echo (float)$execution->totalHours . $lang->execution->workHour;?></td>
</tr>
</tbody>
</table>
@@ -268,11 +268,11 @@
<tbody>
<tr>
<th><?php echo $lang->story->common;?></th>
<td><em><?php echo $statData->storyCount;?></em></td>
<td><?php echo $statData->storyCount;?></td>
<th><?php echo $lang->task->common;?></th>
<td><em><?php echo $statData->taskCount;?></em></td>
<td><?php echo $statData->taskCount;?></td>
<th><?php echo $lang->bug->common;?></th>
<td><em><?php echo $statData->bugCount;?></em></td>
<td><?php echo $statData->bugCount;?></td>
</tr>
</tbody>
</table>