diff --git a/module/execution/model.php b/module/execution/model.php index 52724ab8d2..bec0029342 100755 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -5710,7 +5710,7 @@ class executionModel extends model { $label = $execution->type == 'stage' ? 'label-warning' : 'label-info'; $link = $execution->type == 'kanban' ? helper::createLink('execution', 'kanban', "id=$execution->id") : helper::createLink('execution', 'task', "id=$execution->id"); - $execution->name = "{$this->lang->execution->typeList[$execution->type]} " . html::a($link, $execution->name); + $execution->name = "{$this->lang->execution->typeList[$execution->type]} " . (empty($execution->children) ? html::a($link, $execution->name) : $execution->name); $execution->project = $execution->projectName; $execution->parent = ($execution->parent and $execution->grade > 1) ? $execution->parent : ''; $execution->asParent = !empty($execution->children);