* finish task #2328.

This commit is contained in:
wangyidong
2015-10-15 11:21:22 +08:00
parent c03bce590c
commit 81a305e6b6
3 changed files with 4 additions and 1 deletions

View File

@@ -48,6 +48,7 @@ $lang->build->unlinkBug = 'Remove bug';
$lang->build->stories = 'Finished stories';
$lang->build->bugs = 'Resolved bugs';
$lang->build->generatedBugs = 'Generated bug';
$lang->build->noProduct = " <span style='color:red'>The {$lang->projectCommon} isn't associated with {$lang->productCommon}, cann't create build. Please <a href='%s'>related {$lang->productCommon}</a></span>";
$lang->build->finishStories = 'The total demand for a complete %s';
$lang->build->resolvedBugs = 'The total solution of bug %s';

View File

@@ -48,6 +48,7 @@ $lang->build->unlinkBug = '移除Bug';
$lang->build->stories = '完成的需求';
$lang->build->bugs = '解决的Bug';
$lang->build->generatedBugs = '产生的Bug';
$lang->build->noProduct = " <span style='color:red'>该{$lang->projectCommon}没有关联{$lang->productCommon},无法创建版本,请先<a href='%s'>关联{$lang->productCommon}</a></span>";
$lang->build->finishStories = ' 本次共完成 %s 个需求';
$lang->build->resolvedBugs = ' 本次共解决 %s 个Bug';

View File

@@ -24,7 +24,8 @@
<table class='table table-form'>
<tr>
<th class='w-110px'><?php echo $lang->build->product;?></th>
<td class='w-p25-f'><?php echo html::select('product', $products, '', "class='form-control chosen'");?></td><td></td>
<td class='w-p25-f'><?php echo html::select('product', $products, '', "class='form-control chosen'");?></td>
<td><?php if(empty($products)) printf($lang->build->noProduct, $this->createLink('project', 'manageproducts', "projectID=$projectID"));?></td>
</tr>
<tr>
<th><?php echo $lang->build->name;?></th>