* Finish task #77610.
This commit is contained in:
@@ -28,7 +28,7 @@ $lang->build->confirmUnlinkBug = "您确认移除该Bug吗?";
|
||||
$lang->build->basicInfo = '基本信息';
|
||||
|
||||
$lang->build->id = 'ID';
|
||||
$lang->build->product = $lang->productCommon;
|
||||
$lang->build->product = '所属' . $lang->productCommon;
|
||||
$lang->build->project = '所属项目';
|
||||
$lang->build->branch = '平台/分支';
|
||||
$lang->build->branchName = '所属%s';
|
||||
|
||||
@@ -1489,6 +1489,7 @@ class project extends control
|
||||
$this->view->products = $products;
|
||||
$this->view->allExecutions = $allExecutions;
|
||||
$this->view->executions = $executions;
|
||||
$this->view->buildPairs = $this->loadModel('build')->getBuildPairs(0);
|
||||
$this->view->type = $type;
|
||||
|
||||
$this->display();
|
||||
|
||||
@@ -81,7 +81,16 @@
|
||||
<td class="c-name text-left" title='<?php echo $build->productName;?>'><?php echo $build->productName;?></td>
|
||||
<?php endif;?>
|
||||
<?php if($project->multiple):?>
|
||||
<?php if($build->execution):?>
|
||||
<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 endforeach;?>
|
||||
</td>
|
||||
<?php endif;?>
|
||||
<?php endif;?>
|
||||
<td class="c-url" title="<?php echo $build->scmPath?>"><?php echo strpos($build->scmPath, 'http') === 0 ? html::a($build->scmPath) : $build->scmPath;?></td>
|
||||
<td class="c-url" title="<?php echo $build->filePath?>"><?php echo strpos($build->filePath, 'http') === 0 ? html::a($build->filePath) : $build->filePath;?></td>
|
||||
|
||||
@@ -8,11 +8,7 @@ function loadProductRelated()
|
||||
{
|
||||
loadExecutions($('#product').val());
|
||||
loadTestReports($('#product').val());
|
||||
buildData = '<select id="build" name="build" class="form-control"></select>';
|
||||
$('#build').replaceWith(buildData);
|
||||
$('#build_chosen').remove();
|
||||
$("#build").chosen();
|
||||
$('#build').trigger("chosen:updated");
|
||||
loadExecutionRelated($('#execution').val())
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user