* Fix bug #3719.
This commit is contained in:
@@ -143,6 +143,7 @@ class build extends control
|
||||
$this->view->products = $products;
|
||||
$this->view->users = $this->loadModel('user')->getPairs('noletter', $build->builder);
|
||||
$this->view->build = $build;
|
||||
$this->view->testtask = $this->dao->select('id')->from(TABLE_TESTTASK)->where('build')->eq($build->id)->andWhere('deleted')->eq(0)->fetch('id');
|
||||
$this->display();
|
||||
}
|
||||
|
||||
|
||||
@@ -49,7 +49,8 @@ $lang->build->noProduct = " <span style='color:red'>Dieses {$lang->projectCo
|
||||
$lang->build->noBuild = 'Keine Builds. ';
|
||||
|
||||
$lang->build->notice = new stdclass();
|
||||
$lang->build->notice->changeProduct = "The {$lang->productSRCommon} or Bug has been associated, and its product cannot be modified";
|
||||
$lang->build->notice->changeProduct = "The {$lang->productSRCommon}, bug, or the version of the submitted test order has been linked, and its {$lang->productCommon} cannot be modified";
|
||||
$lang->build->notice->changeProject = "The version of the submitted test order cannot be modified {$lang->projectCommon}";
|
||||
|
||||
$lang->build->finishStories = " %s {$lang->productSRCommon} sind abgeschlossen.";
|
||||
$lang->build->resolvedBugs = ' %s Bugs sind gelöst.';
|
||||
|
||||
@@ -49,7 +49,8 @@ $lang->build->noProduct = " <span style='color:red'>This {$lang->projectComm
|
||||
$lang->build->noBuild = 'No builds yet.';
|
||||
|
||||
$lang->build->notice = new stdclass();
|
||||
$lang->build->notice->changeProduct = "The {$lang->productSRCommon} or Bug has been associated, and its product cannot be modified";
|
||||
$lang->build->notice->changeProduct = "The {$lang->productSRCommon}, bug, or the version of the submitted test order has been linked, and its {$lang->productCommon} cannot be modified";
|
||||
$lang->build->notice->changeProject = "The version of the submitted test order cannot be modified {$lang->projectCommon}";
|
||||
|
||||
$lang->build->finishStories = " Finished {$lang->productSRCommon} %s";
|
||||
$lang->build->resolvedBugs = ' Resolved Bug %s';
|
||||
|
||||
@@ -49,7 +49,8 @@ $lang->build->noProduct = " <span style='color:red'>Ce {$lang->projectCommon
|
||||
$lang->build->noBuild = 'Aucun builds.';
|
||||
|
||||
$lang->build->notice = new stdclass();
|
||||
$lang->build->notice->changeProduct = "La {$lang->productSRCommon} ou le Bug a été associé et son product ne peut pas être modifié";
|
||||
$lang->build->notice->changeProduct = "The {$lang->productSRCommon}, bug, or the version of the submitted test order has been linked, and its {$lang->productCommon} cannot be modified";
|
||||
$lang->build->notice->changeProject = "The version of the submitted test order cannot be modified {$lang->projectCommon}";
|
||||
|
||||
$lang->build->finishStories = " {$lang->productSRCommon} Terminées %s";
|
||||
$lang->build->resolvedBugs = ' Bugs Résolus %s';
|
||||
|
||||
@@ -49,7 +49,8 @@ $lang->build->noProduct = " <span style='color:red'>{$lang->projectCommon} n
|
||||
$lang->build->noBuild = 'Không có bản dựng nào';
|
||||
|
||||
$lang->build->notice = new stdclass();
|
||||
$lang->build->notice->changeProduct = "{$lang->productSRCommon} này hoặc Bug đã được kết hợp, và sản phẩm của nó không thể bị sửa đổi";
|
||||
$lang->build->notice->changeProduct = "The {$lang->productSRCommon}, bug, or the version of the submitted test order has been linked, and its {$lang->productCommon} cannot be modified";
|
||||
$lang->build->notice->changeProject = "The version of the submitted test order cannot be modified {$lang->projectCommon}";
|
||||
|
||||
$lang->build->finishStories = " {$lang->productSRCommon} đã kết thúc %s";
|
||||
$lang->build->resolvedBugs = ' Bug đã giải quyết %s';
|
||||
|
||||
@@ -49,7 +49,8 @@ $lang->build->noProduct = " <span style='color:red'>该{$lang->projectCommon
|
||||
$lang->build->noBuild = '暂时没有版本。';
|
||||
|
||||
$lang->build->notice = new stdclass();
|
||||
$lang->build->notice->changeProduct = "已经关联{$lang->productSRCommon}或Bug的版本,不能修改其所属产品";
|
||||
$lang->build->notice->changeProduct = "已经关联{$lang->productSRCommon}、Bug或提交测试单的版本,不能修改其所属{$lang->productCommon}";
|
||||
$lang->build->notice->changeProject = "提交测试单的版本,不能修改其所属{$lang->projectCommon}";
|
||||
|
||||
$lang->build->finishStories = " 本次共完成 %s 个{$lang->productSRCommon}";
|
||||
$lang->build->resolvedBugs = ' 本次共解决 %s 个Bug';
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
<td>
|
||||
<?php
|
||||
$disabled = '';
|
||||
if($build->stories or $build->bugs) $disabled = 'disabled';
|
||||
if($build->stories or $build->bugs or $testtask) $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,8 +44,10 @@
|
||||
<td><?php if($disabled) echo $lang->build->notice->changeProduct;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<?php $disabled = $testtask ? 'disabled' : '';?>
|
||||
<th><?php echo $lang->build->project;?></th>
|
||||
<td id='projectsBox'><?php echo html::select('project', $executions, $build->project, "class='form-control chosen' required");?></td>
|
||||
<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>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->build->name;?></th>
|
||||
|
||||
Reference in New Issue
Block a user