* @package bug * @version $Id: browse.html.php 5102 2013-07-12 00:59:54Z chencongzhi520@gmail.com $ * @link http://www.zentao.net */ ?> session->bugBrowseType == 'bysearch') ? 'all' : $this->session->bugBrowseType); js::set('flow', $config->global->flow); js::set('productID', $productID); js::set('branch', $branch); $currentBrowseType = isset($lang->bug->mySelects[$browseType]) && in_array($browseType, array_keys($lang->bug->mySelects)) ? $browseType : ''; ?> app->getViewType() == 'xhtml'):?>
product->getByID($productID)->name ?>

bug->noBug;?> createLink('bug', 'create', "productID=$productID&branch=$branch&extra=moduleID=$moduleID"), " " . $lang->bug->create, '', "class='btn btn-info'");?>

moduleName . ucfirst($this->methodName); $useDatatable = (isset($config->datatable->$datatableId->mode) and $config->datatable->$datatableId->mode == 'datatable'); ?> app->getViewType() == 'xhtml'):?>
>
recTotal}&recPerPage={$pager->recPerPage}"; if($useDatatable) include '../../common/view/datatable.html.php'; $setting = $this->datatable->getSetting('bug'); $widths = $this->datatable->setFixedFieldWidth($setting); $columns = 0; $canBeChanged = common::canModify('product', $product); $canBatchEdit = ($canBeChanged and common::hasPriv('bug', 'batchEdit')); $canBatchConfirm = ($canBeChanged and common::hasPriv('bug', 'batchConfirm')); $canBatchClose = common::hasPriv('bug', 'batchClose'); $canBatchActivate = ($canBeChanged and common::hasPriv('bug', 'batchActivate')); $canBatchChangeBranch = ($canBeChanged and common::hasPriv('bug', 'batchChangeBranch')); $canBatchChangeModule = ($canBeChanged and common::hasPriv('bug', 'batchChangeModule')); $canBatchResolve = ($canBeChanged and common::hasPriv('bug', 'batchResolve')); $canBatchAssignTo = ($canBeChanged and common::hasPriv('bug', 'batchAssignTo')); $canBatchAction = ($canBatchEdit or $canBatchConfirm or $canBatchClose or $canBatchActivate or $canBatchChangeBranch or $canBatchChangeModule or $canBatchResolve or $canBatchAssignTo); ?> ';?> ' id='bugList' data-fixed-left-width='' data-fixed-right-width=''> app->getViewType() == 'xhtml'):?> id == 'title' || $value->id == 'id' || $value->id == 'pri' || $value->id == 'status') { if($storyType == 'requirement' and (in_array($value->id, array('plan', 'stage')))) $value->show = false; $this->datatable->printHead($value, $orderBy, $vars, $canBatchAction); $columns ++; } } ?> show) { if(common::checkNotCN() and $value->id == 'severity') $value->name = $lang->bug->severity; if(common::checkNotCN() and $value->id == 'pri') $value->name = $lang->bug->pri; if(common::checkNotCN() and $value->id == 'confirmed') $value->name = $lang->bug->confirmed; $this->datatable->printHead($value, $orderBy, $vars, $canBatchAction); $columns ++; } } ?> app->getViewType() == 'xhtml'):?> id == 'title' || $value->id == 'id' || $value->id == 'pri' || $value->id == 'status') { $this->bug->printCell($value, $bug, $users, $builds, $branchOption, $modulePairs, $executions, $plans, $stories, $tasks, $useDatatable ? 'datatable' : 'table'); } }?> bug->printCell($value, $bug, $users, $builds, $branchOption, $modulePairs, $executions, $plans, $stories, $tasks, $useDatatable ? 'datatable' : 'table', $projectPairs);?>
';?>