* @package story * @version $Id: view.html.php 4952 2013-07-02 01:14:58Z chencongzhi520@gmail.com $ * @link http://www.zentao.net */ ?>
deleted) echo "class='deleted'";?>>STORY #id . ' ' . $story->title;?> version > 1):?> version; $i >= 1; $i --) { $class = $i == $version ? "class='blue'" : "class='gray'"; echo html::a(inlink('view', "storyID=$story->id&version=$i"), '#' . $i, '', "$class"); } echo ")"; ?>
session->storyList != false ? $app->session->storyList : $this->createLink('product', 'browse', "productID=$story->product&moduleID=$story->module"); $actionLinks = ''; if(!$story->deleted) { ob_start(); common::printIcon('story', 'change', "storyID=$story->id", $story); common::printIcon('story', 'review', "storyID=$story->id", $story); common::printIcon('story', 'close', "storyID=$story->id", $story, 'button', '', '', 'iframe showinonlybody', true); common::printIcon('story', 'activate', "storyID=$story->id", $story, 'button', '', '', 'iframe showinonlybody', true); common::printIcon('story', 'createCase', "productID=$story->product&moduleID=0&from=¶m=0&storyID=$story->id", '', 'button', 'createCase'); common::printDivider(); common::printIcon('story', 'edit', "storyID=$story->id"); common::printCommentIcon('story'); common::printIcon('story', 'create', "productID=$story->product&moduleID=$story->module&storyID=$story->id", '', 'button', 'copy'); common::printIcon('story', 'delete', "storyID=$story->id", '', 'button', '', 'hiddenwin'); common::printDivider(); common::printRPN($browseLink, $preAndNext); $actionLinks = ob_get_contents(); ob_clean(); echo $actionLinks; } else { common::printRPN($browseLink); } ?>
story->legendSpec;?>
spec;?>
story->legendVerify;?>
verify;?>
fetch('file', 'printFiles', array('files' => $story->files, 'fieldset' => 'true'));?>
story->legendBasicInfo;?>
story->product;?> product", $product->name);?>
story->module;?> $module) { if(!common::printLink('product', 'browse', "productID=$story->product&browseType=byModule¶m=$module->id", $module->name)) echo $module->name; if(isset($modulePath[$key + 1])) echo $lang->arrow; } } ?>
story->plan;?> planTitle)) if(!common::printLink('productplan', 'view', "planID=$story->plan", $story->planTitle)) echo $story->planTitle;?>
story->source;?> story->sourceList[$story->source];?>
story->status;?> story->statusList[$story->status];?>
story->stage;?> story->stageList[$story->stage];?>
story->pri;?> story->priList[$story->pri];?>
story->estimate;?> estimate;?>
story->keywords;?> keywords;?>
story->legendLifeTime;?>
story->openedBy;?> openedBy] . $lang->at . $story->openedDate;?>
story->assignedTo;?> assignedTo) echo $users[$story->assignedTo] . $lang->at . $story->assignedDate;?>
story->reviewedBy;?> reviewedBy); foreach($reviewedBy as $account) echo ' ' . $users[trim($account)]; ?>
story->reviewedDate;?> reviewedBy) echo $story->reviewedDate;?>
story->closedBy;?> closedBy) echo $users[$story->closedBy] . $lang->at . $story->closedDate;?>
story->closedReason;?> closedReason) echo $lang->story->reasonList[$story->closedReason]; if(isset($story->extraStories[$story->duplicateStory])) { echo html::a(inlink('view', "storyID=$story->duplicateStory"), '#' . $story->duplicateStory . ' ' . $story->extraStories[$story->duplicateStory]); } ?>
story->lastEditedBy;?> lastEditedBy) echo $users[$story->lastEditedBy] . $lang->at . $story->lastEditedDate;?>
story->legendProjectAndTask;?>
tasks as $projectTasks) { foreach($projectTasks as $task) { if(!isset($projects[$task->project])) continue; $projectName = $projects[$task->project]; echo html::a($this->createLink('project', 'browse', "projectID=$task->project"), $projectName); echo "" . html::a($this->createLink('task', 'view', "taskID=$task->id"), "#$task->id $task->name") . '
'; } } ?>
story->legendBugs;?>
id $bug->title'>" . html::a($this->createLink('bug', 'view', "bugID=$bug->id"), "#$bug->id $bug->title") . '
'; } ?>
story->legendCases;?>
id $case->title'>" . html::a($this->createLink('testcase', 'view', "caseID=$case->id"), "#$case->id $case->title") . '
'; } ?>
story->legendLinkStories;?>
linkStories) ; foreach($linkStories as $linkStoryID) { if(isset($story->extraStories[$linkStoryID])) echo html::a(inlink('view', "storyID=$linkStoryID"), "#$linkStoryID " . $story->extraStories[$linkStoryID]) . '
'; } ?>
story->legendChildStories;?>
childStories) ; foreach($childStories as $childStoryID) { if(isset($story->extraStories[$childStoryID])) echo html::a(inlink('view', "storyID=$childStoryID"), "#$childStoryID " . $story->extraStories[$childStoryID]) . '
'; } ?>
story->legendFromBug;?>
id $fromBug->title'>" . html::a($this->createLink('bug', 'view', "bugID=$fromBug->id"), "#$fromBug->id $fromBug->title") . '
'; ?>
story->legendMailto;?>
mailto); foreach($mailto as $account) echo ' ' . $users[trim($account)]; ?>