Merge branch 'sprint/216_mayue_bug#25358' into 'master'
* Fix bug #25358. See merge request easycorp/zentaopms!4571
This commit is contained in:
@@ -4374,7 +4374,14 @@ class executionModel extends model
|
||||
}
|
||||
}
|
||||
|
||||
common::printIcon('programplan', 'edit', "stageID=$execution->id&projectID=$execution->project", $execution, 'list', '', '', 'iframe', true);
|
||||
if($execution->type == 'stage')
|
||||
{
|
||||
common::printIcon('programplan', 'edit', "stageID=$execution->id&projectID=$execution->project", $execution, 'list', '', '', 'iframe', true);
|
||||
}
|
||||
else
|
||||
{
|
||||
common::printIcon('execution', 'edit', "executionID=$execution->id", $execution, 'list', '', '', 'iframe', true);
|
||||
}
|
||||
|
||||
$disabled = !empty($execution->children) ? ' disabled' : '';
|
||||
if($execution->status != 'closed' and common::hasPriv('execution', 'close', $execution))
|
||||
|
||||
Reference in New Issue
Block a user