* Fix story hour detail.

This commit is contained in:
Yagami
2021-01-18 10:13:46 +08:00
parent e49e6d834f
commit 2ce5ef1d5b
6 changed files with 28 additions and 14 deletions
+3 -3
View File
@@ -2963,13 +2963,13 @@ class taskModel extends model
$storyChanged ? print("<span class='status-story status-changed'>{$this->lang->story->changed}</span>") : print("<span class='status-task status-{$task->status}'> " . $this->processStatus('task', $task) . "</span>");
break;
case 'estimate':
echo round($task->estimate, 1) . ' ' . $this->lang->hourCommon;
echo round($task->estimate, 1) . ' ' . $this->config->hourUnit;
break;
case 'consumed':
echo round($task->consumed, 1) . ' ' . $this->lang->hourCommon;
echo round($task->consumed, 1) . ' ' . $this->config->hourUnit;
break;
case 'left':
echo round($task->left, 1) . ' ' . $this->lang->hourCommon;
echo round($task->left, 1) . ' ' . $this->config->hourUnit;
break;
case 'progress':
echo "{$task->progress}%";