* Finish task #83949.
This commit is contained in:
+10
-1
@@ -246,7 +246,16 @@ class doc extends control
|
||||
if(!empty($lib->execution))
|
||||
{
|
||||
$execution = $this->execution->getByID($lib->execution);
|
||||
if($execution->type == 'stage') $this->lang->doc->execution = str_replace($this->lang->executionCommon, $this->lang->project->stage, $this->lang->doc->execution);
|
||||
if($execution->type == 'stage')
|
||||
{
|
||||
if($execution->grade > 1)
|
||||
{
|
||||
$parentExecutions = $this->dao->select('id,name')->from(TABLE_EXECUTION)->where('id')->in(trim($execution->path, ','))->andWhere('type')->in('stage,kanban,sprint')->orderBy('grade')->fetchPairs();
|
||||
$execution->name = implode('/', $parentExecutions);
|
||||
}
|
||||
|
||||
$this->lang->doc->execution = str_replace($this->lang->executionCommon, $this->lang->project->stage, $this->lang->doc->execution);
|
||||
}
|
||||
|
||||
$this->view->execution = $execution;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user