* Code for task #110589.

This commit is contained in:
tanghucheng
2024-01-11 09:52:26 +08:00
parent 1be6f5a7d9
commit 8ed0e6ac3d
2 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -5418,7 +5418,7 @@ class executionModel extends model
$title = '';
$disabled = $execution->status == 'wait' ? '' : 'disabled';
$this->app->loadLang('stage');
if($project and $project->model == 'ipd')
if($project and $project->model == 'ipd' and !$execution->parallel)
{
$title = ($execution->ipdStage['canStart'] or $execution->ipdStage['isFirst']) ? '' : sprintf($this->lang->execution->disabledTip->startTip, $this->lang->stage->ipdTypeList[$execution->ipdStage['preAttribute']], $this->lang->stage->ipdTypeList[$execution->attribute]);
$disabled = $execution->ipdStage['canStart'] ? $disabled : 'disabled';