* Adjust code style.
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
<td>
|
||||
<?php
|
||||
$disabled = '';
|
||||
if($build->stories or $build->bugs or $testtask) $disabled = 'disabled';
|
||||
if($build->stories or $build->bugs or $testtaskID) $disabled = 'disabled';
|
||||
?>
|
||||
<div class='input-group'>
|
||||
<?php echo html::select('product', $products, $build->product, "onchange='loadBranches(this.value);' class='form-control chosen' $disabled required");?>
|
||||
@@ -44,7 +44,7 @@
|
||||
<td><?php if($disabled) echo $lang->build->notice->changeProduct;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<?php $disabled = $testtask ? 'disabled' : '';?>
|
||||
<?php $disabled = $testtaskID ? 'disabled' : '';?>
|
||||
<th><?php echo $lang->build->project;?></th>
|
||||
<td id='projectsBox'><?php echo html::select('project', $executions, $build->project, "class='form-control chosen' required $disabled");?></td>
|
||||
<td><?php if($disabled) echo $lang->build->notice->changeProject;?></td>
|
||||
|
||||
Reference in New Issue
Block a user