This commit is contained in:
wangyuting
2022-12-01 06:28:13 +00:00
parent df0997aa70
commit 2bd28233ea
5 changed files with 19 additions and 15 deletions
+1
View File
@@ -1462,6 +1462,7 @@ class project extends control
{
foreach($builds as $build)
{
$build->builds = $this->build->getByList($build->builds);
/* If product is normal, unset branch name. */
if(isset($productList[$build->product]) and $productList[$build->product]->type == 'normal')
{
+10 -3
View File
@@ -85,9 +85,16 @@
<td class="c-name text-left" title='<?php echo $build->executionName;?>'><?php echo $build->executionName;?></td>
<?php else:?>
<td class="c-name text-left">
<?php foreach(explode(',', $build->builds) as $childBuild):?>
<?php $buildName = zget($buildPairs, $childBuild);?>
<span title="<?php echo $buildName;?>"><?php echo $buildName;?></span></br>
<?php $childExecutions = array();?>
<?php foreach($build->builds as $childBuild):?>
<?php $childExecutions[$childBuild->execution] = $childBuild->execution;?>
<?php endforeach;?>
<?php foreach($childExecutions as $execution):?>
<?php $executionName = zget($allExecutions, $execution, '');?>
<?php if($executionName):?>
<span title="<?php echo $executionName;?>"><?php echo $executionName;?></span></br>
<?php endif;?>
<?php endforeach;?>
</td>
<?php endif;?>