* @package story * @version $Id$ * @link http://www.zentao.net */ ?>
deleted) echo "class='deleted'";?>>STORY #id . ' ' . $story->title;?>
session->storyList != false ? $app->session->storyList : $this->createLink('product', 'browse', "productID=$story->product&moduleID=$story->module"); $actionLinks = ''; if(!$story->deleted) { ob_start(); if($this->story->isClickable($story, 'change')) common::printIcon('story', 'change', "storyID=$story->id"); if($this->story->isClickable($story, 'review')) common::printIcon('story', 'review', "storyID=$story->id"); if($this->story->isClickable($story, 'close')) common::printIcon('story', 'close', "storyID=$story->id"); if($this->story->isClickable($story, 'activate')) common::printIcon('story', 'activate', "storyID=$story->id"); 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) { @$projectName = $story->projects[$task->project]->name; 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)]; ?>
story->legendVersion;?>
version; $i >= 1; $i --) echo html::a(inlink('view', "storyID=$story->id&version=$i"), "#$i");?>