* @package case * @version $Id: view.html.php 594 2010-03-27 13:44:07Z wwccss $ * @link http://www.zentao.net */ ?> testtask->confirmUnlinkCase)?> session->taskCaseBrowseType == 'bysearch') ? 'all' : $this->session->taskCaseBrowseType);?>
icons['product']);?>
id&browseType=$browseType¶m=$param&orderBy=%s&recToal={$pager->recTotal}&recPerPage={$pager->recPerPage}"; $datatableId = $this->moduleName . ucfirst($this->methodName); $useDatatable = (isset($this->config->datatable->$datatableId->mode) and $this->config->datatable->$datatableId->mode == 'datatable'); $canBatchEdit = common::hasPriv('testcase', 'batchEdit'); $canBatchAssign = common::hasPriv('testtask', 'batchAssign'); $canBatchRun = common::hasPriv('testtask', 'batchRun'); $hasCheckbox = ($canBatchEdit or $canBatchAssign or $canBatchRun); if($useDatatable) include '../../common/view/datatable.html.php'; if(!$useDatatable) include '../../common/view/tablesorter.html.php'; $this->config->testcase->datatable->defaultField = $this->config->testtask->datatable->defaultField; $this->config->testcase->datatable->fieldList['actions']['width'] = '100'; $setting = $this->datatable->getSetting('testtask'); $widths = $this->datatable->setFixedFieldWidth($setting); $columns = 0; ?> ' id='caseList' data-checkable='' data-fixed-left-width='' data-fixed-right-width='' data-custom-menu='true' data-checkbox-name='caseIDList[]'> $value) { if($value->show) { $this->datatable->printHead($value, $orderBy, $vars); $columns ++; } } ?> $value) $this->testtask->printCell($value, $run, $users, $task, $branches, $useDatatable ? 'datatable' : 'table');?>
createLink('testcase', 'batchEdit', "productID=$productID"); $misc = $canBatchEdit ? "onclick=\"setFormAction('$actionLink')\"" : "disabled='disabled'"; echo html::commonButton($lang->edit, $misc); ?>
id"); echo "
"; echo html::select('assignedTo', $assignedTos, '', 'class="form-control chosen"'); echo ""; echo html::a("javascript:setFormAction(\"$actionLink\")", $lang->testtask->assign); echo '
'; } if($canBatchRun) { $actionLink = inLink('batchRun', "productID=$productID&orderBy=id_desc&from=testtask&taskID=$taskID"); echo html::commonButton($lang->testtask->runCase, "onclick=\"setFormAction('$actionLink')\""); } ?>
show();?>