* Remove hourunit.

This commit is contained in:
Yagami
2021-01-20 15:48:58 +08:00
parent 36067c51cc
commit d03194717d
8 changed files with 18 additions and 21 deletions
+3 -3
View File
@@ -99,9 +99,9 @@
<?php if($type != 'finishedBy'): ?>
<td class='c-user'><?php echo zget($users, $task->finishedBy);?></td>
<?php endif;?>
<td class='c-hours'><?php echo round($task->estimate, 1) . ' ' . $config->hourUnit;?></td>
<td class='c-hours'><?php echo round($task->consumed, 1) . ' ' . $config->hourUnit;?></td>
<td class='c-hours'><?php echo round($task->left, 1) . ' ' . $config->hourUnit;?></td>
<td class='c-hours'><?php echo round($task->estimate, 1);?></td>
<td class='c-hours'><?php echo round($task->consumed, 1);?></td>
<td class='c-hours'><?php echo round($task->left, 1);?></td>
<td class='c-status'>
<?php $storyChanged = (!empty($task->storyStatus) and $task->storyStatus == 'active' and $task->latestStoryVersion > $task->storyVersion and !in_array($task->status, array('cancel', 'closed')));?>
<?php !empty($storyChanged) ? print("<span class='status-story status-changed'>{$this->lang->my->storyChanged}</span>") : print("<span class='status-task status-{$task->status}'> " . $this->processStatus('task', $task) . "</span>");?>