diff --git a/framework/router.class.php b/framework/router.class.php
index 886f787f23..3651d769e3 100755
--- a/framework/router.class.php
+++ b/framework/router.class.php
@@ -203,8 +203,8 @@ class router extends baseRouter
/* Record hour unit. */
$config->hourUnit = 'h';
- if($hourKey == STORYPOINT_KEY) $config->hourUnit = 'SP';
- if($hourKey == FUNCTIONPOINT_KEY) $config->hourUnit = 'FP';
+ if($hourKey == STORYPOINT_KEY) $config->hourUnit = 'sp';
+ if($hourKey == FUNCTIONPOINT_KEY) $config->hourUnit = 'fp';
$model = new stdclass();
$model->model = 'scrum';
diff --git a/module/block/view/executionblock.html.php b/module/block/view/executionblock.html.php
index 92114a87bb..90872be781 100644
--- a/module/block/view/executionblock.html.php
+++ b/module/block/view/executionblock.html.php
@@ -52,9 +52,9 @@
-
hours->totalEstimate . ' ' . $lang->execution->workHourUnit;?> |
- hours->totalConsumed . ' ' . $lang->execution->workHourUnit;?> |
- hours->totalLeft . ' ' . $lang->execution->workHourUnit;?> |
+ hours->totalEstimate . $lang->execution->workHourUnit;?> |
+ hours->totalConsumed . $lang->execution->workHourUnit;?> |
+ hours->totalLeft . $lang->execution->workHourUnit;?> |
diff --git a/module/block/view/projectblock.html.php b/module/block/view/projectblock.html.php
index b40b243a19..8d5cd06af9 100644
--- a/module/block/view/projectblock.html.php
+++ b/module/block/view/projectblock.html.php
@@ -33,7 +33,7 @@
|
teamCount;?> |
- consumed . ' ' . $lang->execution->workHourUnit;?> |
+ consumed . $lang->execution->workHourUnit;?> |
app->getClientLang(), ['zh-cn','zh-tw']) ? number_format((float)$project->budget / 10000, 2) . $this->lang->project->tenThousand : number_format((float)$project->budget, 2);?>
budget != 0 ? zget($lang->project->currencySymbol, $project->budgetUnit) . ' ' . $programBudget : $lang->project->future;?> |
leftStories;?> |
diff --git a/module/block/view/scrumlistblock.html.php b/module/block/view/scrumlistblock.html.php
index d1f62b4676..aaa9cd6499 100644
--- a/module/block/view/scrumlistblock.html.php
+++ b/module/block/view/scrumlistblock.html.php
@@ -52,9 +52,9 @@
- hours->totalEstimate . ' ' . $lang->execution->workHourUnit;?> |
- hours->totalConsumed . ' ' . $lang->execution->workHourUnit;?> |
- hours->totalLeft . ' ' . $lang->execution->workHourUnit;?> |
+ hours->totalEstimate . $lang->execution->workHourUnit;?> |
+ hours->totalConsumed . $lang->execution->workHourUnit;?> |
+ hours->totalLeft . $lang->execution->workHourUnit;?> |
diff --git a/module/block/view/taskblock.html.php b/module/block/view/taskblock.html.php
index 376df8196d..0b513de61b 100644
--- a/module/block/view/taskblock.html.php
+++ b/module/block/view/taskblock.html.php
@@ -46,7 +46,7 @@
| task->priList, $task->pri, $task->pri)?> |
createLink('task', 'view', "taskID=$task->id", '', '', $task->project), $task->name)?> |
- estimate . ' ' . $lang->execution->workHourUnit;?> |
+ estimate . $lang->execution->workHourUnit;?> |
deadline, 0, 4) > 0) echo $task->deadline;?> |
processStatus('task', $task);?>