* Finish task #4715.

This commit is contained in:
Yagami
2018-09-12 11:02:40 +08:00
parent dcce714fdc
commit 0742e37f89
6 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -43,7 +43,7 @@
<div class='cell'>
<div class='btn-toolbar'>
<?php foreach($lang->report->typeList as $type => $typeName):?>
<?php echo html::a("javascript:changeChartType(\"$type\")", "<i class='icon icon-chart-{$type}'> </i>" . $typeName, '', "class='btn btn-link " . ($type == $chartType ? 'btn-active-line' : '') . "'")?>
<?php echo html::a("javascript:changeChartType(\"$type\")", ($type == 'default' ? "<i class='icon icon-cog'></i>" : "<i class='icon icon-chart-{$type}'></i>") . $typeName, '', "class='btn btn-link " . ($type == $chartType ? 'btn-active-line' : '') . "'")?>
<?php endforeach;?>
<div class='pull-right with-padding text-muted'><?php echo $lang->report->notice->help;?></div>
</div>
+4 -4
View File
@@ -75,10 +75,10 @@ $lang->report->unplanned = 'Unplanned';
$lang->report->workday = 'Hours/Day';
$lang->report->diffDays = 'Man-Day';
$lang->report->typeList[''] = 'Default';
$lang->report->typeList['pie'] = 'Pie';
$lang->report->typeList['bar'] = 'Bar';
$lang->report->typeList['line'] = 'Line';
$lang->report->typeList['default'] = 'Default';
$lang->report->typeList['pie'] = 'Pie';
$lang->report->typeList['bar'] = 'Bar';
$lang->report->typeList['line'] = 'Line';
$lang->report->conditions = 'Filter by:';
$lang->report->closedProduct = 'Closed ' . $lang->productCommon;
+4 -4
View File
@@ -75,10 +75,10 @@ $lang->report->unplanned = '未计划';
$lang->report->workday = '每天工时';
$lang->report->diffDays = '工作日天数';
$lang->report->typeList[''] = '默认';
$lang->report->typeList['pie'] = '饼图';
$lang->report->typeList['bar'] = '柱状图';
$lang->report->typeList['line'] = '折线图';
$lang->report->typeList['default'] = '默认';
$lang->report->typeList['pie'] = '饼图';
$lang->report->typeList['bar'] = '柱状图';
$lang->report->typeList['line'] = '折线图';
$lang->report->conditions = '筛选条件:';
$lang->report->closedProduct = '关闭' . $lang->productCommon;
+1 -1
View File
@@ -42,7 +42,7 @@
<div class='main-col'>
<div class='cell'>
<div class='btn-toolbar'>
<?php unset($lang->report->typeList['']);?>
<?php unset($lang->report->typeList['default']);?>
<?php foreach($lang->report->typeList as $type => $typeName):?>
<?php echo html::a("javascript:changeChartType(\"$type\")", "<i class='icon icon-chart-{$type}'> </i>" . $typeName, '', "class='btn btn-link " . ($type == $chartType ? 'btn-active-line' : '') . "'")?>
<?php endforeach;?>
+1 -1
View File
@@ -43,7 +43,7 @@
<div class='cell'>
<div class='btn-toolbar'>
<?php foreach($lang->report->typeList as $type => $typeName):?>
<?php echo html::a("javascript:changeChartType(\"$type\")", "<i class='icon icon-chart-{$type}'> </i>" . $typeName, '', "class='btn btn-link " . ($type == $chartType ? 'btn-active-line' : '') . "'")?>
<?php echo html::a("javascript:changeChartType(\"$type\")", ($type == 'default' ? "<i class='icon icon-cog'></i>" : "<i class='icon icon-chart-{$type}'></i>") . $typeName, '', "class='btn btn-link " . ($type == $chartType ? 'btn-active-line' : '') . "'")?>
<?php endforeach;?>
<div class='pull-right with-padding text-muted'><?php echo $lang->report->notice->help;?></div>
</div>
+1 -1
View File
@@ -43,7 +43,7 @@
<div class='cell'>
<div class='btn-toolbar'>
<?php foreach($lang->report->typeList as $type => $typeName):?>
<?php echo html::a("javascript:changeChartType(\"$type\")", "<i class='icon icon-chart-{$type}'> </i>" . $typeName, '', "class='btn btn-link " . ($type == $chartType ? 'btn-active-line' : '') . "'")?>
<?php echo html::a("javascript:changeChartType(\"$type\")", ($type == 'default' ? "<i class='icon icon-cog'></i>" : "<i class='icon icon-chart-{$type}'></i>") . $typeName, '', "class='btn btn-link " . ($type == $chartType ? 'btn-active-line' : '') . "'")?>
<?php endforeach;?>
<div class='pull-right with-padding text-muted'><?php echo $lang->report->notice->help;?></div>
</div>