* @package task * @version $Id: view.html.php 4808 2013-06-17 05:48:13Z zhujinyonging@gmail.com $ * @link http://www.zentao.net */ ?> session->taskList != false ? $app->session->taskList : $this->createLink('execution', 'browse', "executionID=$task->execution");?> app->getViewType() == 'xhtml'):?>
task->legendDesc;?>
desc) ? $task->desc : "
" . $lang->noData . '
';?>
lifetime != 'ops'):?> fromBug != 0):?>
bug->steps;?>
bugSteps) ? $task->bugSteps : "
" . $lang->noData . '
';?>
story):?>
task->storySpec;?>
storySpec) || !empty($task->storyFiles)) ? $task->storySpec : "
" . $lang->noData . '
';?>
fetch('file', 'printFiles', array('files' => $task->storyFiles, 'fieldset' => 'false'));?>
task->storyVerify;?>
storyVerify) ? $task->storyVerify : "
" . $lang->noData . '
';?>
cases) and $task->cases):?>
task->case;?>
    cases as $caseID => $case) echo '
  • ' . html::a($this->createLink('testcase', 'view', "caseID=$caseID", '', true), "#$caseID " . $case, '', isonlybody() ? '' : "data-toggle='modal' data-type='iframe' data-width='90%'") . '
  • ';?>
children)):?>
lang->task->children;?>
children as $child):?>
task->id;?> task->lblPri;?> task->name;?> task->deadline;?> task->assignedTo;?> task->status;?> task->consumedAB . $lang->task->lblHour;?> task->leftAB . $lang->task->lblHour;?> actions;?>
id;?> pri) echo "" . zget($this->lang->task->priList, $child->pri, $child->pri) . "";?> id", '', true); ?>">name;?> deadline;?> task->printAssignedHtml($child, $users);?> processStatus('task', $child);?> consumed;?> left;?> id", $child, 'list', '', '', 'iframe showinonlybody', true); common::printIcon('task', 'finish', "taskID=$child->id", $child, 'list', '', '', 'iframe showinonlybody', true); common::printIcon('task', 'close', "taskID=$child->id", $child, 'list', '', '', 'iframe showinonlybody', true); common::printIcon('task', 'recordEstimate', "taskID=$child->id", $child, 'list', 'time', '', 'iframe showinonlybody', true); common::printIcon('task', 'edit', "taskID=$child->id", $child, 'list'); common::printIcon('task', 'activate', "taskID=$child->id", $child, 'list', '', '', 'iframe showinonlybody', true); ?>
fetch('file', 'printFiles', array('files' => $task->files, 'fieldset' => 'true', 'object' => $task, 'method' => 'view', 'showDelete' => false)); $canBeChanged = common::canBeChanged('task', $task); if($canBeChanged) $actionFormLink = $this->createLink('action', 'comment', "objectType=task&objectID=$task->id"); ?>
printExtendFields($task, 'div', "position=left&inForm=0&inCell=1");?> app->getViewType() != 'xhtml'):?>
app->getViewType() != 'xhtml'):?> ' . $lang->goback, '', "class='btn'");?>
";?> executionList = $execution;?> task->buildOperateMenu($task, 'view');?>
multiple):?> name . '/'; echo $product->name . $lang->arrow; } foreach($modulePath as $key => $module) { $moduleTitle .= $module->name; if(!common::printLink('execution', 'task', "executionID=$task->execution&browseType=byModule¶m=$module->id", $module->name)) echo $module->name; if(isset($modulePath[$key + 1])) { $moduleTitle .= '/'; echo $lang->arrow; } } } $printModule = ob_get_contents(); ob_end_clean(); ?> lifetime != 'ops'):?> fromBug):?> mode):?>
task->execution;?> config->vision == 'lite' ? 'kanban' : 'view'; if($execution->type != 'kanban') { common::printLink('execution', $method, "executionID={$task->execution}", $execution->name); } else { echo $execution->name; } ?>
task->module;?>
task->story;?> storyTitle) echo $lang->noData; $class = isonlybody() ? 'showinonlybody' : 'iframe'; if($task->storyTitle and !common::printLink('execution', 'storyView', "storyID=$task->story", $task->storyTitle, '', "class=$class data-width='80%'", true, true)) echo $task->storyTitle; if($task->needConfirm) { echo "({$lang->story->changed} "; echo html::a($this->createLink('task', 'confirmStoryChange', "taskID=$task->id"), $lang->confirm, 'hiddenwin', "class='btn btn-mini btn-info'"); echo ")"; } ?>
task->fromBug;?> createLink('bug', 'view', "bugID=$task->fromBug", '', true), "#$task->fromBug " . $fromBug->title, '', "class='iframe' data-width='80%'");?>
task->assignedTo;?> team) and $task->mode == 'multi' and strpos('done,cencel,closed', $task->status) === false) { foreach($task->team as $member) echo ' ' . zget($users, $member->account); } else { echo $task->assignedTo ? $task->assignedToRealName . $lang->at . $task->assignedDate : $lang->noData; } ?>
task->mode;?> task->modeList, $task->mode);?>
task->type;?> task->typeList[$task->type];?>
task->status;?> processStatus('task', $task);?>
task->progress;?> progress . '%';?>
task->pri;?> pri;?>' title='task->priList, $task->pri);?>'>pri == '0' ? $lang->noData : zget($lang->task->priList, $task->pri)?>
task->mailto;?> mailto)) { echo $lang->noData; } else { foreach(explode(',', str_replace(' ', '', $task->mailto)) as $account) echo ' ' . zget($users, $account, $account); } ?>
task->openedBy;?> openedBy ? zget($users, $task->openedBy, $task->openedBy) . $lang->at . $task->openedDate : $lang->noData;?>
task->finishedBy;?> finishedBy) ? zget($users, $task->finishedBy, $task->finishedBy) . $lang->at . $task->finishedDate : $lang->noData;?>
task->canceledBy;?> canceledBy ? zget($users, $task->canceledBy, $task->canceledBy) . $lang->at . $task->canceledDate : $lang->noData;?>
task->closedBy;?> closedBy ? zget($users, $task->closedBy, $task->closedBy) . $lang->at . $task->closedDate : $lang->noData;?>
task->closedReason;?> closedReason ? $lang->task->reasonList[$task->closedReason] : $lang->noData;?>
task->lastEdited;?> lastEditedBy ? zget($users, $task->lastEditedBy, $task->lastEditedBy) . $lang->at . $task->lastEditedDate : $lang->noData;?>
team as $member):?>
task->team?> task->estimateAB?> task->consumedAB?> task->leftAB?> statusAB;?>
account);?> estimate?> consumed?> left?> task->statusList, $member->status);?>
task->estimate;?> estimate . $lang->workingHour;?>
task->consumed;?> consumed, 2) . $lang->workingHour;?>
task->left;?> left . $lang->workingHour;?>
task->estStarted;?> estStarted;?>
task->realStarted;?> realStarted) ? '' : $task->realStarted; ?>
task->deadline;?> deadline; if(isset($task->delay)) printf($lang->task->delayWarning, $task->delay); ?>
task->linkMR;?> $linkMRTitle) { echo ($canViewMR ? html::a($this->createLink('mr', 'view', "MRID=$MRID"), "#$MRID $linkMRTitle") : "#$MRID $linkMRTitle") . '
'; } ?>
task->linkCommit;?> revision, 0, 10); $commitTitle = $revision . ' ' . $commit->comment; echo "
printExtendFields($task, 'div', "position=right&inForm=0&inCell=1");?>
app->getViewType() == 'xhtml'):?>