* @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_clean(); echo $actionLinks; } else { common::printRPN($browseLink); } ?>
task->legendDesc;?>
desc;?>
task->storySpec;?>
storySpec;?>
fetch('file', 'printFiles', array('files' => $task->files, 'fieldset' => 'true'));?>
deleted) echo $actionLinks;?>
comment;?>
id&comment=true")?>'>
task->legendBasic;?>
task->project;?> project", $project->name)) echo $project->name;?>
task->module;?> name . $lang->arrow; foreach($modulePath as $key => $module) { if(!common::printLink('project', 'task', "projectID=$task->project&browseType=byModule¶m=$module->id", $module->name)) echo $module->name; if(isset($modulePath[$key + 1])) echo $lang->arrow; } } ?>
task->story;?> storyTitle and !common::printLink('story', 'view', "storyID=$task->story", $task->storyTitle)) 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->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 ' ' . $users[$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 $users[$task->openedBy] . $lang->at . $task->openedDate;?>
task->finishedBy;?> finishedBy) echo $users[$task->finishedBy] . $lang->at . $task->finishedDate;?>
task->canceledBy;?> canceledBy) echo $users[$task->canceledBy] . $lang->at . $task->canceledDate;?>
task->closedBy;?> closedBy) echo $users[$task->closedBy] . $lang->at . $task->closedDate;?>
task->closedReason;?> task->reasonList[$task->closedReason];?>
task->lastEdited;?> lastEditedBy) echo $users[$task->lastEditedBy] . $lang->at . $task->lastEditedDate;?>