* Finish task #4066, #4067.

This commit is contained in:
chenfeiCF
2018-05-15 16:14:47 +08:00
parent ec4117c6b9
commit aff04f3ddc
3 changed files with 13 additions and 0 deletions
+2
View File
@@ -188,6 +188,8 @@ $lang->testcase->noFunction = 'Iconv and mb_convert_encoding is not found.
$lang->testcase->noRequire = "Row %s has“%s”which is a required field and it should not be blank.";
$lang->testcase->noLibrary = "No library exists. Please create one first.";
$lang->testcase->mustChooseResult = 'Review result is required.';
$lang->testcase->noCase = 'No Case. You could ';
$lang->testcase->noModule = '<div>You have no modules</div><div>Manage now</div>';
$lang->testcase->searchStories = 'Enter to searcu Story';
$lang->testcase->selectLib = 'Select Library';
+2
View File
@@ -188,6 +188,8 @@ $lang->testcase->noFunction = '不存在iconv和mb_convert_encoding转码
$lang->testcase->noRequire = "%s行的“%s”是必填字段,不能为空";
$lang->testcase->noLibrary = "现在还没有公共库,请先创建!";
$lang->testcase->mustChooseResult = '必须选择评审结果';
$lang->testcase->noModule = '<div>您现在还没有模块信息</div><div>请维护测试模块</div>';
$lang->testcase->noCase = '暂时没有用例,您现在可以';
$lang->testcase->searchStories = '键入来搜索需求';
$lang->testcase->selectLib = '请选择库';
+9
View File
@@ -26,6 +26,11 @@ js::set('branch', $branch);
<div id="mainContent" class="main-row">
<div class='side-col' id='sidebar'>
<div class='cell'>
<?php if(!$moduleTree):?>
<hr class="space">
<div class="text-center text-muted"><?php echo $lang->testcase->noModule;?></div>
<hr class="space">
<?php endif;?>
<?php echo $moduleTree;?>
<div class='text-center'>
<?php common::printLink('tree', 'browse', "productID=$productID&view=case", $lang->tree->manage, '', "class='btn btn-info btn-wide'");?>
@@ -186,6 +191,10 @@ js::set('branch', $branch);
</div>
<?php $pager->show('right', 'pagerjs');?>
</div>
<?php elseif(common::hasPriv('testcase', 'create')):?>
<div class="table-empty-tip">
<p><span class="text-muted"><?php echo $lang->testcase->noCase;?></span> <?php common::printLink('testcase', 'create', "productID={$productID}", "<i class='icon icon-plus'> </i>" . $lang->testcase->create, '', "class='btn btn-info'");?></p>
</div>
<?php endif;?>
</form>
</div>