* Finish task #73241.

This commit is contained in:
tanghucheng
2022-10-26 09:03:24 +08:00
parent faa094ca72
commit cf00a736a1
2 changed files with 6 additions and 1 deletions
+3 -1
View File
@@ -142,7 +142,7 @@
<tr>
<th><?php echo $lang->execution->manageProducts;?></th>
<td class='text-left' id='productsBox' colspan="2">
<?php $class = $execution->grade == 2 ? "readonly='readonly'" : '';?>
<?php $class = ($execution->grade == 2 or $execution->type == 'stage') ? "disabled" : '';?>
<div class='row'>
<?php $i = 0;?>
<?php foreach($linkedProducts as $product):?>
@@ -165,12 +165,14 @@
?>
<?php endforeach;?>
<?php endforeach;?>
<?php if($execution->type != 'stage'):?>
<div class='col-sm-4'>
<div class="input-group">
<?php echo html::select("products[$i]", $allProducts, '', "class='form-control chosen' onchange='loadBranches(this)'");?>
<span class='input-group-addon fix-border'></span>
</div>
</div>
<?php endif;?>
</div>
</td>
</tr>