* finish task #6048.
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
<div class='input-group'>
|
||||
<?php echo html::select('product', $products, $build->product, "onchange='loadBranches(this.value);' class='form-control chosen' required");?>
|
||||
<?php
|
||||
if($build->productType != 'normal')
|
||||
if($build->productType != 'normal' and isset($branches[$product->branch]))
|
||||
{
|
||||
if($product->branch) $branches = array($product->branch => $branches[$product->branch]);
|
||||
echo "<span class='input-group-addon fix-padding fix-border'></span>" . html::select('branch', $branches, $build->branch, "class='form-control chosen'");
|
||||
|
||||
@@ -38,9 +38,9 @@
|
||||
<table class="table text-center" id='buildList'>
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="w-200px"><?php echo $lang->build->product;?></th>
|
||||
<th class="w-200px text-left"><?php echo $lang->build->product;?></th>
|
||||
<th class="c-id-sm"><?php echo $lang->build->id;?></th>
|
||||
<th class="c-name"><?php echo $lang->build->name;?></th>
|
||||
<th class="c-name text-left"><?php echo $lang->build->name;?></th>
|
||||
<th class="c-url"><?php echo $lang->build->scmPath;?></th>
|
||||
<th class="c-url"><?php echo $lang->build->filePath;?></th>
|
||||
<th class="c-date"><?php echo $lang->build->date;?></th>
|
||||
|
||||
Reference in New Issue
Block a user