* If the product is a shadow one hide it when create a testtask.

This commit is contained in:
liugang
2022-09-21 08:42:00 +08:00
parent 048441961b
commit 6b3e0329e2
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -22,6 +22,7 @@
</div>
<form method='post' class="main-form form-ajax" enctype="multipart/form-data" id='dataform'>
<table class='table table-form'>
<?php if(empty($product->shadow)):?>
<?php if(isset($executionID)):?>
<tr>
<th class='w-100px'><?php echo $lang->testtask->product;?></th>
@@ -33,6 +34,7 @@
<td class='w-p35-f'><?php echo html::input('product', $productID, "class='form-control' onchange='loadTestReports(this.value)'");?></td><td></td>
</tr>
<?php endif;?>
<?php endif;?>
<tr>
<th class='w-100px'><?php echo $lang->testtask->execution;?></th>
<td class='w-p35-f'><?php echo html::select('execution', $executions, $executionID, "class='form-control chosen' onchange='loadExecutionRelated(this.value)'");?></td><td></td>