* Restore code.

This commit is contained in:
tianshujie
2023-03-08 08:49:47 +08:00
parent 1d6825f5b6
commit d650f56116
10 changed files with 2 additions and 30 deletions
-4
View File
@@ -554,10 +554,6 @@ $lang->execution->featureBar['story']['reviewing'] = 'Reviewing';
$lang->execution->featureBar['testcase']['all'] = 'All';
$lang->execution->featureBar['testtask']['browse'] = 'Test Request';
$lang->execution->featureBar['testreport']['browse'] = 'Testing Reports';
$lang->execution->myExecutions = 'Ich bin beteiligt.';
$lang->execution->doingProject = "Ongoing {$lang->projectCommon}s";
-4
View File
@@ -554,10 +554,6 @@ $lang->execution->featureBar['story']['reviewing'] = 'Reviewing';
$lang->execution->featureBar['testcase']['all'] = 'All';
$lang->execution->featureBar['testtask']['browse'] = 'Test Request';
$lang->execution->featureBar['testreport']['browse'] = 'Testing Reports';
$lang->execution->myExecutions = 'Mine';
$lang->execution->doingProject = "Ongoing {$lang->projectCommon}s";
-4
View File
@@ -554,10 +554,6 @@ $lang->execution->featureBar['story']['reviewing'] = 'Reviewing';
$lang->execution->featureBar['testcase']['all'] = 'All';
$lang->execution->featureBar['testtask']['browse'] = 'Test Request';
$lang->execution->featureBar['testreport']['browse'] = 'Testing Reports';
$lang->execution->myExecutions = "J'étais impliqué";
$lang->execution->doingProject = "Ongoing {$lang->projectCommon}s";
-4
View File
@@ -554,10 +554,6 @@ $lang->execution->featureBar['story']['reviewing'] = '评审中';
$lang->execution->featureBar['testcase']['all'] = '全部';
$lang->execution->featureBar['testtask']['browse'] = '测试单列表';
$lang->execution->featureBar['testreport']['browse'] = '报告列表';
$lang->execution->myExecutions = '我参与的';
$lang->execution->doingProject = "进行中的{$lang->projectCommon}";
+1 -3
View File
@@ -26,12 +26,10 @@
<?php endif;?>
<?php $total = 0;?>
<?php foreach($tasks as $productTasks) $total += count($productTasks);?>
<?php foreach($this->lang->execution->featureBar['testtask'] as $label):?>
<a href='' class='btn btn-link btn-active-text'>
<span class='text'><?php echo $label;?></span>
<span class='text'><?php echo $lang->testtask->browse;?></span>
<span class="label label-light label-badge"><?php echo $total;?></span>
</a>
<?php endforeach;?>
</div>
<div class="btn-toolbar pull-right">
<?php if(common::canModify('execution', $execution)):?>
-2
View File
@@ -94,5 +94,3 @@ Total <strong>%s</strong> Bugs reported <a data-toggle='tooltip' class='text-war
<strong>%s</strong> Bugs found from the running of cases<a data-toggle='tooltip' class='text-warning' title='{$lang->testreport->fromCaseBugTip}'><i class='icon-help'></i></a>.
Bug Effective Rate <a data-toggle='tooltip' class='text-warning' title='Resolution is resolved or delayed / status is resolved or closed'><i class='icon-help'></i></a>: <strong>%s</strong>,Bugs-reported-from-cases rate<a data-toggle='tooltip' class='text-warning' title='Bugs created from cases / bugs'><i class='icon-help'></i></a>: <strong>%s</strong>
EOD;
$lang->testreport->featureBar['browse']['browse'] = 'Testing Reports';
-2
View File
@@ -94,5 +94,3 @@ Total <strong>%s</strong> Bugs reported <a data-toggle='tooltip' class='text-war
<strong>%s</strong> Bugs found from the running of cases<a data-toggle='tooltip' class='text-warning' title='{$lang->testreport->fromCaseBugTip}'><i class='icon-help'></i></a>.
Bug Effective Rate <a data-toggle='tooltip' class='text-warning' title='Resolution is resolved or delayed / status is resolved or closed'><i class='icon-help'></i></a>: <strong>%s</strong>,Bugs-reported-from-cases rate<a data-toggle='tooltip' class='text-warning' title='Bugs created from cases / bugs'><i class='icon-help'></i></a>: <strong>%s</strong>
EOD;
$lang->testreport->featureBar['browse']['browse'] = 'Testing Reports';
-2
View File
@@ -94,5 +94,3 @@ Total <strong>%s</strong> Bugs reported <a data-toggle='tooltip' class='text-war
<strong>%s</strong> Bugs found from the running of cases<a data-toggle='tooltip' class='text-warning' title='{$lang->testreport->fromCaseBugTip}'><i class='icon-help'></i></a>.
Bug Effective Rate <a data-toggle='tooltip' class='text-warning' title='Resolution is resolved or delayed / status is resolved or closed'><i class='icon-help'></i></a>: <strong>%s</strong>,Bugs-reported-from-cases rate<a data-toggle='tooltip' class='text-warning' title='Bugs created from cases / bugs'><i class='icon-help'></i></a>: <strong>%s</strong>
EOD;
$lang->testreport->featureBar['browse']['browse'] = 'Testing Reports';
-2
View File
@@ -94,5 +94,3 @@ $lang->testreport->bugSummary = <<<EOD
用例执行产生<strong>%s</strong>个Bug <a data-toggle='tooltip' class='text-warning' title='{$lang->testreport->fromCaseBugTip}'><i class='icon-help'></i></a>。
有效Bug率(方案为已解决或延期 / 状态为已解决或已关闭):<strong>%s</strong>,用例发现Bug率(用例创建的Bug / 发现Bug数):<strong>%s</strong>
EOD;
$lang->testreport->featureBar['browse']['browse'] = '报告列表';
+1 -3
View File
@@ -14,12 +14,10 @@
<?php if($config->global->flow == 'full'):?>
<div id='mainMenu' class='clearfix'>
<div class='pull-left btn-toolbar'>
<?php foreach($this->lang->{$app->rawModule}->featureBar[$app->rawMethod] as $label):?>
<span class='btn btn-link btn-active-text'>
<span class='text'><?php echo $label;?></span>
<span class='text'><?php echo $lang->testreport->browse;?></span>
<span class="label label-light label-badge"><?php echo $pager->recTotal;?></span>
</span>
<?php endforeach;?>
</div>
<div class='pull-right btn-toolbar'>
<?php if($objectType == 'product' and $canBeChanged) common::printLink('testreport', 'create', "objectID=0&objectType=testtask&productID=$objectID", "<i class='icon icon-plus'></i> " . $lang->testreport->create, '', "class='btn btn-primary'");?>