diff --git a/trunk/module/bug/view/view.html.php b/trunk/module/bug/view/view.html.php index 1aeefa94e4..e0cfe6db5e 100644 --- a/trunk/module/bug/view/view.html.php +++ b/trunk/module/bug/view/view.html.php @@ -69,7 +69,7 @@ bug->legendBasicInfo;?> - +
bug->lblProductAndModule;?>bug->lblProductAndModule;?> product", $productName)) echo $productName; @@ -115,7 +115,7 @@ bug->legendLife;?> - + @@ -154,7 +154,7 @@ bug->legendPrjStoryTask;?>
bug->openedBy;?>bug->openedBy;?> openedBy] . $lang->at . $bug->openedDate;?>
- + @@ -171,7 +171,7 @@ bug->legendMisc;?>
bug->project;?>bug->project;?> project) echo html::a($this->createLink('project', 'browse', "projectid=$bug->project"), $bug->projectName);?>
- + diff --git a/trunk/module/project/view/task.html.php b/trunk/module/project/view/task.html.php index ba874057ea..01ebccc0ae 100644 --- a/trunk/module/project/view/task.html.php +++ b/trunk/module/project/view/task.html.php @@ -49,7 +49,7 @@ - + diff --git a/trunk/module/task/control.php b/trunk/module/task/control.php index 3366e655be..da26438637 100644 --- a/trunk/module/task/control.php +++ b/trunk/module/task/control.php @@ -150,6 +150,7 @@ class task extends control $this->assign('project', $project); $this->assign('task', $task); $this->assign('actions', $this->action->getList('task', $taskID)); + $this->assign('users', $this->loadModel('user')->getPairs('noletter')); $this->display(); } diff --git a/trunk/module/task/lang/zh-cn.php b/trunk/module/task/lang/zh-cn.php index a0da259be3..588c4e2e51 100644 --- a/trunk/module/task/lang/zh-cn.php +++ b/trunk/module/task/lang/zh-cn.php @@ -39,15 +39,15 @@ $lang->task->successSaved = "成功添加,"; $lang->task->id = '编号'; $lang->task->project = '所属项目'; $lang->task->story = '相关需求'; -$lang->task->name = '名称'; -$lang->task->type = '类型'; +$lang->task->name = '任务名称'; +$lang->task->type = '任务类型'; $lang->task->pri = '优先级'; $lang->task->owner = '指派给'; $lang->task->estimate = '最初预计'; $lang->task->left = '预计剩余'; $lang->task->consumed = '已消耗'; -$lang->task->status = '状态'; -$lang->task->desc = '描述'; +$lang->task->status = '任务状态'; +$lang->task->desc = '任务描述'; $lang->task->statusList->wait = '未开始'; $lang->task->statusList->doing = '进行中'; diff --git a/trunk/module/task/view/view.html.php b/trunk/module/task/view/view.html.php index b7388b85b8..3bff285930 100644 --- a/trunk/module/task/view/view.html.php +++ b/trunk/module/task/view/view.html.php @@ -36,7 +36,7 @@ -
+
@@ -44,15 +44,12 @@
desc);?>
-
- task->legendAction;?> -
- createLink('task', 'edit', "taskID=$task->id"), $lang->task->buttonEdit); - if(common::hasPriv('project', 'task')) echo html::a($app->session->taskList, $lang->task->buttonBackToList); - ?> -
-
+
+ createLink('task', 'edit', "taskID=$task->id"), $lang->task->buttonEdit); + if(common::hasPriv('project', 'task')) echo html::a($app->session->taskList, $lang->task->buttonBackToList); + ?> +
@@ -60,12 +57,12 @@ task->legendBasic;?>
bug->mailto;?>bug->mailto;?> mailto); foreach($mailto as $account) echo ' ' . $users[$account]; ?>
task->left);?> task->type);?> task->status);?>task->story);?>task->story);?> actions;?>
- - + + -
task->project;?>name;?>task->project;?>project", $project->name)) echo $project->name;?>
task->story;?>storyTitle;?> + storyTitle and !common::printLink('story', 'view', "storyID=$task->story", $task->storyTitle)) echo $task->storyTitle;?>
task->owner;?>