diff --git a/module/my/control.php b/module/my/control.php index 7a99609c65..6df83a2910 100644 --- a/module/my/control.php +++ b/module/my/control.php @@ -203,7 +203,7 @@ class my extends control $this->view->position[] = $this->lang->my->story; $this->view->stories = $this->loadModel('story')->getUserStories($this->app->user->account, $type, $sort, $pager, 'story'); $this->view->users = $this->user->getPairs('noletter'); - $this->view->projects = $this->loadModel('program')->getPRJPairs(); + $this->view->projects = $this->loadModel('project')->getPairsByProgram(); $this->view->type = $type; $this->view->recTotal = $recTotal; $this->view->recPerPage = $recPerPage; @@ -244,7 +244,7 @@ class my extends control $this->view->position[] = $this->lang->my->story; $this->view->stories = $this->loadModel('story')->getUserStories($this->app->user->account, $type, $sort, $pager, 'requirement'); $this->view->users = $this->user->getPairs('noletter'); - $this->view->projects = $this->loadModel('program')->getPRJPairs(); + $this->view->projects = $this->loadModel('project')->getPairsByProgram(); $this->view->type = $type; $this->view->recTotal = $recTotal; $this->view->recPerPage = $recPerPage; @@ -319,13 +319,13 @@ class my extends control $this->view->position[] = $this->lang->my->task; $this->view->tabID = 'task'; $this->view->tasks = $tasks; - $this->view->summary = $this->loadModel('project')->summary($tasks); + $this->view->summary = $this->loadModel('execution')->summary($tasks); $this->view->type = $type; $this->view->recTotal = $recTotal; $this->view->recPerPage = $recPerPage; $this->view->pageID = $pageID; $this->view->orderBy = $orderBy; - $this->view->projects = $this->loadModel('program')->getPRJPairs(); + $this->view->projects = $this->loadModel('project')->getPairsByProgram(); $this->view->users = $this->loadModel('user')->getPairs('noletter'); $this->view->pager = $pager; $this->view->mode = 'task'; @@ -491,7 +491,7 @@ class my extends control $this->app->loadLang('project'); $this->app->session->set('programList', $this->app->getURI(true)); - $this->app->session->set('PRJBrowse', $this->app->getURI(true)); + $this->app->session->set('projectBrowse', $this->app->getURI(true)); /* Set the pager. */ $this->app->loadClass('pager', $static = true); diff --git a/module/my/lang/en.php b/module/my/lang/en.php index 2fd90dc565..e245ffe90f 100644 --- a/module/my/lang/en.php +++ b/module/my/lang/en.php @@ -70,16 +70,6 @@ $lang->my->projectMenu->suspended = 'Suspended'; $lang->my->projectMenu->closed = 'Closed'; $lang->my->projectMenu->openedbyme = 'CreatedByMe'; -$lang->my->home = new stdclass(); -$lang->my->home->latest = 'Dynamics'; -$lang->my->home->action = "%s, %s %s %s %s."; -$lang->my->home->projects = $lang->executionCommon; -$lang->my->home->products = $lang->productCommon; -$lang->my->home->createProject = "Create {$lang->executionCommon}"; -$lang->my->home->createProduct = "Create {$lang->productCommon}"; -$lang->my->home->help = "Help"; -$lang->my->home->noProductsTip = "No {$lang->productCommon} found here."; - $lang->my->form = new stdclass(); $lang->my->form->lblBasic = 'Basic Info'; $lang->my->form->lblContact = 'Contact Info'; diff --git a/module/my/lang/zh-cn.php b/module/my/lang/zh-cn.php index 627ebf551f..ee797a15bb 100644 --- a/module/my/lang/zh-cn.php +++ b/module/my/lang/zh-cn.php @@ -70,16 +70,6 @@ $lang->my->projectMenu->suspended = '已挂起'; $lang->my->projectMenu->closed = '已关闭'; $lang->my->projectMenu->openedbyme = '由我创建'; -$lang->my->home = new stdclass(); -$lang->my->home->latest = '最新动态'; -$lang->my->home->action = "%s, %s %s %s %s。"; -$lang->my->home->projects = $lang->executionCommon; -$lang->my->home->products = $lang->productCommon; -$lang->my->home->createProject = "添加{$lang->executionCommon}"; -$lang->my->home->createProduct = "添加{$lang->productCommon}"; -$lang->my->home->help = "帮助文档"; -$lang->my->home->noProductsTip = "这里还没有{$lang->productCommon}。"; - $lang->my->form = new stdclass(); $lang->my->form->lblBasic = '基本信息'; $lang->my->form->lblContact = '联系信息'; diff --git a/module/my/view/execution.html.php b/module/my/view/execution.html.php index 48412826f8..554362b4ac 100644 --- a/module/my/view/execution.html.php +++ b/module/my/view/execution.html.php @@ -29,20 +29,20 @@
-| idAB;?> | my->name;?> | -my->projects;?> | -project->begin;?> | -project->end;?> | +my->execution;?> | +execution->begin;?> | +execution->end;?> | statusAB;?> | team->role;?> | team->join;?> | my->hours;?> | -project->assignedToMe;?> | -project->progress;?> | +execution->assignedToMe;?> | +execution->progress;?> |
|---|