* @package task * @version $Id: view.html.php 4808 2013-06-17 05:48:13Z zhujinyonging@gmail.com $ * @link http://www.zentao.net */ ?>
icons['task']);?> id;?> name;?> deleted):?> task->deleted;?> fromBug != 0):?> icons['bug']) . " {$lang->task->fromBug}$lang->colon$task->fromBug"; ?>
session->taskList != false ? $app->session->taskList : $this->createLink('project', 'browse', "projectID=$task->project"); $actionLinks = ''; if(!$task->deleted) { ob_start(); echo "
"; common::printIcon('task', 'assignTo', "projectID=$task->project&taskID=$task->id", $task, 'button', '', '', 'iframe', true); common::printIcon('task', 'start', "taskID=$task->id", $task, 'button', '', '', 'iframe', true); common::printIcon('task', 'restart', "taskID=$task->id", $task, 'button', '', '', 'iframe', true); common::printIcon('task', 'recordEstimate', "taskID=$task->id", $task, 'button', '', '', 'iframe', true); common::printIcon('task', 'pause', "taskID=$task->id", $task, 'button', '', '', 'iframe', true); common::printIcon('task', 'finish', "taskID=$task->id", $task, 'button', '', '', 'iframe showinonlybody text-success', true); common::printIcon('task', 'close', "taskID=$task->id", $task, 'button', '', '', 'iframe', true); common::printIcon('task', 'activate', "taskID=$task->id", $task, 'button', '', '', 'iframe text-success', true); common::printIcon('task', 'cancel', "taskID=$task->id", $task, 'button', '', '', 'iframe', true); echo '
'; echo "
"; common::printIcon('task', 'edit', "taskID=$task->id"); common::printCommentIcon('task'); common::printIcon('task', 'create', "productID=0&storyID=0&moduleID=0&taskID=$task->id", '', 'button', 'copy'); common::printIcon('task', 'delete', "projectID=$task->project&taskID=$task->id", '', 'button', '', 'hiddenwin'); echo '
'; echo "
"; common::printRPN($browseLink, $preAndNext); echo '
'; $actionLinks = ob_get_contents(); ob_end_clean(); echo $actionLinks; } else { common::printRPN($browseLink); } ?>
task->legendDesc;?>
desc;?>
fromBug != 0):?>
bug->steps;?>
bugSteps;?>
task->storySpec;?>
storySpec;?>
fetch('file', 'printFiles', array('files' => $task->files, 'fieldset' => 'true'));?>
deleted) echo $actionLinks;?>
comment;?>
id&comment=true")?>'>
task->legendBasic;?> name . '/'; echo $product->name . $lang->arrow; } foreach($modulePath as $key => $module) { $moduleTitle .= $module->name; if(!common::printLink('project', 'task', "projectID=$task->project&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(); ?> fromBug):?>
task->project;?> project", $project->name)) echo $project->name;?>
task->module;?>
task->story;?> storyTitle and !common::printLink('story', 'view', "storyID=$task->story", $task->storyTitle, '', "class='iframe' 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'); echo ")"; } ?>
task->fromBug;?> createLink('bug', 'view', "bugID=$task->fromBug"), "#$task->fromBug " . $fromBug->title, '_blank');?>
task->assignedTo;?> assignedTo ? $task->assignedToRealName . $lang->at . $task->assignedDate : '';?>
task->type;?> task->typeList[$task->type];?>
task->status;?> show($lang->task->statusList, $task->status);?>
task->pri;?> show($lang->task->priList, $task->pri);?>
task->mailto;?> mailto)); foreach($mailto as $account) echo ' ' . zget($users, $account, $account); ?>
task->legendEffort;?>
task->estStarted;?> estStarted;?>
task->realStarted;?> realStarted; ?>
task->deadline;?> deadline; if(isset($task->delay)) printf($lang->task->delayWarning, $task->delay); ?>
task->estimate;?> estimate . $lang->workingHour;?>
task->consumed;?> consumed, 2) . $lang->workingHour;?>
task->left;?> left . $lang->workingHour;?>
task->legendLife;?>
task->openedBy;?> openedBy) echo zget($users, $task->openedBy, $task->openedBy) . $lang->at . $task->openedDate;?>
task->finishedBy;?> finishedBy) echo zget($users, $task->finishedBy, $task->finishedBy) . $lang->at . $task->finishedDate;?>
task->canceledBy;?> canceledBy) echo zget($users, $task->canceledBy, $task->canceledBy) . $lang->at . $task->canceledDate;?>
task->closedBy;?> closedBy) echo zget($users, $task->closedBy, $task->closedBy) . $lang->at . $task->closedDate;?>
task->closedReason;?> task->reasonList[$task->closedReason];?>
task->lastEdited;?> lastEditedBy) echo zget($users, $task->lastEditedBy, $task->lastEditedBy) . $lang->at . $task->lastEditedDate;?>