From c4356f0eaa106535f75b1d094466c948c3d1846d Mon Sep 17 00:00:00 2001 From: sgm0422 <976204163@qq.com> Date: Thu, 16 Jul 2020 14:11:22 +0800 Subject: [PATCH] * Finish task #7466. --- module/project/control.php | 2 +- module/task/control.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/module/project/control.php b/module/project/control.php index c2ab1f6c38..8a7db95168 100644 --- a/module/project/control.php +++ b/module/project/control.php @@ -212,7 +212,7 @@ class project extends control $this->view->modules = $this->tree->getTaskOptionMenu($projectID, 0, 0, $showAllModule ? 'allModule' : ''); $this->view->moduleID = $moduleID; $this->view->moduleTree = $this->tree->getTaskTreeMenu($projectID, $productID, $startModuleID = 0, array('treeModel', 'createTaskLink'), $extra); - $this->view->memberPairs = $memberPairs; + $this->view->memberPairs = $memberPairs + array('closed' => 'Closed'); $this->view->branchGroups = $this->loadModel('branch')->getByProducts(array_keys($products), 'noempty'); $this->view->setModule = true; diff --git a/module/task/control.php b/module/task/control.php index c36105d754..50b40f18e5 100644 --- a/module/task/control.php +++ b/module/task/control.php @@ -524,7 +524,7 @@ class task extends control $this->view->title = $this->view->project->name . $this->lang->colon . $this->lang->task->assign; $this->view->position[] = $this->lang->task->assign; $this->view->task = $task; - $this->view->members = $members; + $this->view->members = $members + array('closed' => 'Closed'); $this->view->users = $this->loadModel('user')->getPairs(); $this->display(); }