* adjust for report.
This commit is contained in:
@@ -334,7 +334,7 @@ class testtask extends control
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function report($productID, $taskID, $browseType, $branchID, $moduleID = 0, $chartType = '')
|
||||
public function report($productID, $taskID, $browseType, $branchID, $moduleID = 0, $chartType = 'default')
|
||||
{
|
||||
$this->loadModel('report');
|
||||
$this->view->charts = array();
|
||||
|
||||
@@ -46,6 +46,7 @@
|
||||
<?php echo html::a("javascript:changeChartType(\"$type\")", ($type == 'default' ? "<i class='icon icon-list-alt muted'></i> " : "<i class='icon icon-chart-{$type}'></i>") . $typeName, '', "class='btn btn-link " . ($type == $chartType ? 'btn-active-line' : '') . "'")?>
|
||||
<?php endforeach;?>
|
||||
</div>
|
||||
<?php $this->app->loadLang('testcase');?>
|
||||
<div class='text-muted'><?php echo str_replace('%tab%', $lang->testcase->featureBar['browse']['wait'] . $lang->testcase->common, $lang->report->notice->help);?></div>
|
||||
<?php foreach($charts as $chartType => $chartOption):?>
|
||||
<div class='table-row chart-row'>
|
||||
|
||||
Reference in New Issue
Block a user