story->statusList[$story->status];?>
- story->stage;?>: story->stageList[$story->stage];?>
- story->estimate;?>: estimate;?>
+ story->stage;?> story->stageList[$story->stage];?>
+ story->estimate;?> estimate;?>
story->legendSpec;?>
- spec;?>
+
+ spec) ? $story->spec : "
" . $lang->noData . '
';?>
+ story->legendVerify;?>
- verify;?>
+
+ verify) ? $story->verify : "
" . $lang->noData . '
';?>
+ '; - } - } - ?> + planTitle)) + { + foreach($story->planTitle as $planID => $planTitle) + { + if(!common::printLink('productplan', 'view', "planID=$planID", $planTitle)) echo $lanTitle; + echo '
'; + } + } + else + { + echo $lang->noData; + } + ?>
-
- tasks as $projectTasks)
- {
- foreach($projectTasks as $task)
- {
- if(!isset($projects[$task->project])) continue;
- $projectName = $projects[$task->project];
- echo "
- " . html::a($this->createLink('task', 'view', "taskID=$task->id", '', true), "#$task->id $task->name", '', "class='iframe' data-width='80%'"); - echo html::a($this->createLink('project', 'browse', "projectID=$task->project"), $projectName, '', "class='text-muted'") . ' '; - } - } - if(count($story->tasks) == 0) - { - foreach($story->projects as $projectID => $project) - { - echo "
- " . html::a($this->createLink('project', 'browse', "projectID=$projectID"), $project->name, '', "class='text-muted'") . ' '; - } - } - ?> + tasks as $projectTasks) + { + foreach($projectTasks as $task) + { + if(!isset($projects[$task->project])) continue; + $projectName = $projects[$task->project]; + echo "
- " . html::a($this->createLink('task', 'view', "taskID=$task->id", '', true), "#$task->id $task->name", '', "class='iframe' data-width='80%'"); + echo html::a($this->createLink('project', 'browse', "projectID=$task->project"), $projectName, '', "class='text-muted'") . ' '; + } + } + if(count($story->tasks) == 0) + { + foreach($story->projects as $projectID => $project) + { + echo "
- " . html::a($this->createLink('project', 'browse', "projectID=$projectID"), $project->name, '', "class='text-muted'") . ' '; + } + } + ?>
| story->legendFromBug;?> | -
-
|
- |
|---|---|---|
| story->legendFromBug;?> | +
+
|
+ |
| story->legendBugs;?> |
+
+ noData;?>
+
|
|
| story->legendCases;?> |
+
+ noData;?>
+
|
|
| story->legendLinkStories;?> | +story->legendLinkStories;?> |
+ linkStories);?>
+
+ noData;?>
+
|
| story->legendChildStories;?> |
+ childStories);?>
+
+ noData;?>
+
|
|
| story->assignedTo;?> | -assignedTo) echo $users[$story->assignedTo] . $lang->at . $story->assignedDate;?> | +assignedTo ? $users[$story->assignedTo] . $lang->at . $story->assignedDate : $lang->noData;?> |
| story->reviewedBy;?> | -reviewedBy); foreach($reviewedBy as $account) echo ' ' . $users[trim($account)]; ?> | ++ reviewedBy); + if(count($reviewedBy) < 2) + { + echo $lang->noData; + } + else + { + foreach($reviewedBy as $account) echo ' ' . $users[trim($account)]; + } + ?> + |
| story->reviewedDate;?> | -reviewedBy) echo $story->reviewedDate;?> | +reviewedBy ? $story->reviewedDate : $lang->noData;?> |
| story->closedBy;?> | -closedBy) echo $users[$story->closedBy] . $lang->at . $story->closedDate;?> | +closedBy ? $users[$story->closedBy] . $lang->at . $story->closedDate : $lang->noData;?> |
| 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]); - } - ?> + closedReason ? $lang->story->reasonList[$story->closedReason] : $lang->noData; + 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;?> | +lastEditedBy ? $users[$story->lastEditedBy] . $lang->at . $story->lastEditedDate : $lang->noData;?> |
- task->type;?>: task->typeList[$task->type];?>
- task->deadline;?>: deadline; if(isset($task->delay)) printf($lang->task->delayWarning, $task->delay);?>
+ task->type;?> task->typeList[$task->type];?>
+ task->deadline;?> deadline; if(isset($task->delay)) printf($lang->task->delayWarning, $task->delay);?>
fetch('file', 'printFiles', array('files' => $task->files, 'fieldset' => 'true'));?>
createLink('action', 'comment', "objectType=task&objectID=$task->id");?>
-
\ No newline at end of file
+