* Unified filter label format.
This commit is contained in:
@@ -538,6 +538,17 @@ $lang->execution->featureBar['bug']['unresolved'] = 'Active';
|
||||
|
||||
$lang->execution->featureBar['build']['all'] = 'Build List';
|
||||
|
||||
$lang->execution->featureBar['story']['all'] = 'All';
|
||||
$lang->execution->featureBar['story']['unclosed'] = 'Unclosed';
|
||||
$lang->execution->featureBar['story']['draft'] = 'Draft';
|
||||
$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";
|
||||
|
||||
|
||||
@@ -538,6 +538,17 @@ $lang->execution->featureBar['bug']['unresolved'] = 'Active';
|
||||
|
||||
$lang->execution->featureBar['build']['all'] = 'Build List';
|
||||
|
||||
$lang->execution->featureBar['story']['all'] = 'All';
|
||||
$lang->execution->featureBar['story']['unclosed'] = 'Unclosed';
|
||||
$lang->execution->featureBar['story']['draft'] = 'Draft';
|
||||
$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";
|
||||
|
||||
|
||||
@@ -538,6 +538,17 @@ $lang->execution->featureBar['bug']['unresolved'] = 'Active';
|
||||
|
||||
$lang->execution->featureBar['build']['all'] = 'Build List';
|
||||
|
||||
$lang->execution->featureBar['story']['all'] = 'All';
|
||||
$lang->execution->featureBar['story']['unclosed'] = 'Unclosed';
|
||||
$lang->execution->featureBar['story']['draft'] = 'Draft';
|
||||
$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";
|
||||
|
||||
|
||||
@@ -538,6 +538,17 @@ $lang->execution->featureBar['bug']['unresolved'] = '未解决';
|
||||
|
||||
$lang->execution->featureBar['build']['all'] = '全部版本';
|
||||
|
||||
$lang->execution->featureBar['story']['all'] = '全部';
|
||||
$lang->execution->featureBar['story']['unclosed'] = '未关闭';
|
||||
$lang->execution->featureBar['story']['draft'] = '草稿';
|
||||
$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}";
|
||||
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="btn-toolbar pull-left">
|
||||
<?php foreach($lang->story->featureBar['browse'] as $featureType => $label):?>
|
||||
<?php foreach($lang->execution->featureBar['story'] as $featureType => $label):?>
|
||||
<?php $active = $type == $featureType ? 'btn-active-text' : '';?>
|
||||
<?php $label = "<span class='text'>$label</span>";?>
|
||||
<?php if($type == $featureType) $label .= " <span class='label label-light label-badge'>{$pager->recTotal}</span>";?>
|
||||
|
||||
@@ -13,7 +13,12 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="btn-toolbar pull-left">
|
||||
<?php echo html::a(inlink('testcase', "executionID=$executionID&productID=$productID&branchID=$branchID&type=$type&moduleID=$moduleID&orderBy=$orderBy"), "<span class='text'>{$lang->all}</span> <span class='label label-light label-badge'>{$pager->recTotal}</span>", '', "class='btn btn-link btn-active-text'");?>
|
||||
<?php
|
||||
foreach($this->lang->execution->featureBar['testcase'] as $label)
|
||||
{
|
||||
echo html::a(inlink('testcase', "executionID=$executionID&productID=$productID&branchID=$branchID&type=$type&moduleID=$moduleID&orderBy=$orderBy"), "<span class='text'>{$label}</span> <span class='label label-light label-badge'>{$pager->recTotal}</span>", '', "class='btn btn-link btn-active-text'");
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<div class="btn-toolbar pull-right">
|
||||
<?php if(common::canModify('execution', $execution)) echo html::a(helper::createLink('testcase', 'create', "productID=$productID&branch=0&moduleID=0&from=execution¶m=$execution->id", '', '', '', true), "<i class='icon icon-plus'></i> " . $lang->testcase->create, '', "class='btn btn-primary' data-app='{$this->app->tab}'");?>
|
||||
|
||||
@@ -26,10 +26,12 @@
|
||||
<?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 $lang->testtask->browse;?></span>
|
||||
<span class='text'><?php echo $label;?></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)):?>
|
||||
|
||||
@@ -485,8 +485,8 @@ $lang->story->subDivideTip['notWait'] = 'The Story has been %s and cannot be
|
||||
$lang->story->subDivideTip['notActive'] = "The %s is not active and cannot be subdivided.";
|
||||
$lang->story->subDivideTip['twinsSplit'] = 'The Twins Story cannot be subdivided.';
|
||||
|
||||
$lang->story->featureBar['browse']['all'] = $lang->all;
|
||||
$lang->story->featureBar['browse']['unclosed'] = $lang->story->unclosed;
|
||||
$lang->story->featureBar['browse']['all'] = $lang->all;
|
||||
$lang->story->featureBar['browse']['unclosed'] = $lang->story->unclosed;
|
||||
$lang->story->featureBar['browse']['draft'] = $lang->story->statusList['draft'];
|
||||
$lang->story->featureBar['browse']['reviewing'] = $lang->story->statusList['reviewing'];
|
||||
|
||||
|
||||
@@ -485,8 +485,8 @@ $lang->story->subDivideTip['notWait'] = 'The Story has been %s and cannot be
|
||||
$lang->story->subDivideTip['notActive'] = "The %s is not active and cannot be subdivided.";
|
||||
$lang->story->subDivideTip['twinsSplit'] = 'The Twins Story cannot be subdivided.';
|
||||
|
||||
$lang->story->featureBar['browse']['all'] = $lang->all;
|
||||
$lang->story->featureBar['browse']['unclosed'] = $lang->story->unclosed;
|
||||
$lang->story->featureBar['browse']['all'] = $lang->all;
|
||||
$lang->story->featureBar['browse']['unclosed'] = $lang->story->unclosed;
|
||||
$lang->story->featureBar['browse']['draft'] = $lang->story->statusList['draft'];
|
||||
$lang->story->featureBar['browse']['reviewing'] = $lang->story->statusList['reviewing'];
|
||||
|
||||
|
||||
@@ -94,3 +94,5 @@ 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';
|
||||
|
||||
@@ -94,3 +94,5 @@ 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';
|
||||
|
||||
@@ -94,3 +94,5 @@ 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';
|
||||
|
||||
@@ -94,3 +94,5 @@ $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'] = '报告列表';
|
||||
|
||||
@@ -14,10 +14,12 @@
|
||||
<?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 $lang->testreport->browse;?></span>
|
||||
<span class='text'><?php echo $label;?></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'");?>
|
||||
|
||||
Reference in New Issue
Block a user