* Adjust type and endList of sprint.
This commit is contained in:
@@ -1117,6 +1117,18 @@ class project extends control
|
||||
}
|
||||
}
|
||||
|
||||
if(strpos($this->config->custom->productProject, '_2'))
|
||||
{
|
||||
$this->view->isSprint = true;
|
||||
unset($this->lang->project->typeList['waterfall']);
|
||||
unset($this->lang->project->typeList['ops']);
|
||||
|
||||
unset($this->lang->project->endList[62]);
|
||||
unset($this->lang->project->endList[93]);
|
||||
unset($this->lang->project->endList[186]);
|
||||
unset($this->lang->project->endList[365]);
|
||||
}
|
||||
|
||||
$projectID = key($this->projects);
|
||||
if($this->session->project) $projectID = $this->session->project;
|
||||
$this->project->setMenu($this->projects, $projectID);
|
||||
@@ -1206,6 +1218,19 @@ class project extends control
|
||||
$productPlans[$product->id] = $this->productplan->getPairs($product->id);
|
||||
}
|
||||
|
||||
if(strpos($this->config->custom->productProject, '_2'))
|
||||
{
|
||||
$this->view->isSprint = true;
|
||||
|
||||
unset($this->lang->project->typeList['waterfall']);
|
||||
unset($this->lang->project->typeList['ops']);
|
||||
|
||||
unset($this->lang->project->endList[62]);
|
||||
unset($this->lang->project->endList[93]);
|
||||
unset($this->lang->project->endList[186]);
|
||||
unset($this->lang->project->endList[365]);
|
||||
}
|
||||
|
||||
$this->view->title = $title;
|
||||
$this->view->position = $position;
|
||||
$this->view->projects = $projects;
|
||||
|
||||
Reference in New Issue
Block a user