* Fix bug of task #84592.

This commit is contained in:
liumengyi
2023-02-16 05:35:10 +00:00
parent 9be6fa2fd2
commit cd7cdbb6a8
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -2551,6 +2551,7 @@ class execution extends control
$this->view->chartData = $chartData;
$this->view->canBeChanged = common::canModify('execution', $execution); // Determines whether an object is editable.
$this->view->type = $type;
$this->view->project = $this->loadModel('project')->getByID($execution->project);
$this->display();
}
+1 -1
View File
@@ -329,7 +329,7 @@
<div class="detail">
<div class="detail-title">
<strong><?php echo $lang->execution->manageProducts;?></strong>
<?php if(common::hasPriv('execution', 'manageproducts') and $execution->type != 'stage') common::printLink('execution', 'manageproducts', "executionID=$execution->id", '<i class="icon icon-more icon-sm"></i>', '', "class='btn btn-link pull-right muted'");?>
<?php if(common::hasPriv('execution', 'manageproducts') and $execution->type != 'stage' and $project->model != 'waterfallplus') common::printLink('execution', 'manageproducts', "executionID=$execution->id", '<i class="icon icon-more icon-sm"></i>', '', "class='btn btn-link pull-right muted'");?>
</div>
<div class="detail-content">
<div class="row row-grid">