- |
-
- id => '')) . html::a(helper::createLink('story', 'view', "storyID=$story->id&version=$story->version&from=execution¶m=$execution->id"), sprintf('%03d', $story->id), null, "data-app='execution'");?>
-
- id);?>
-
- |
-
- |
-
- pri?>' title='story->priList, $story->pri, $story->pri);?>'>story->priList, $story->pri, $story->pri);?> |
-
- config->execution->story->showBranch) ? $this->config->execution->story->showBranch : 1;?>
- product][$story->branch]) and $showBranch) echo "product][$story->branch]}>" . $branchGroups[$story->product][$story->branch] . '';?>
- module) and isset($modulePairs[$story->module])) echo "{$modulePairs[$story->module]} ";?>
- parent > 0) echo "{$lang->story->childrenAB}";?>
- title, null, "style='color: $story->color' data-app='execution'");?>
- |
- story->categoryList, $story->category);?> |
- openedBy);?> |
- text-center' title='assignedTo);?>'>loadModel('story')->printAssignedHtml($story,$users);?> |
- estimate . $config->hourUnit;?> |
- processStatus('story', $story);?>
-
-
- |
- story->stageList[$story->stage];?> |
-
- createLink('story', 'tasks', "storyID=$story->id&executionID=$execution->id");
- $storyTasks[$story->id] > 0 ? print(html::a($tasksLink, $storyTasks[$story->id], '', 'class="iframe"')) : print(0);
- ?>
- |
- createLink('story', 'bugs', "storyID=$story->id&executionID=$execution->id");
- $storyBugs[$story->id] > 0 ? print(html::a($bugsLink, $storyBugs[$story->id], '', 'class="iframe"')) : print(0);
- ?>
- |
-
- createLink('story', 'cases', "storyID=$story->id&executionID=$execution->id");
- $storyCases[$story->id] > 0 ? print(html::a($casesLink, $storyCases[$story->id], '', 'class="iframe"')) : print(0);
- ?>
- |
-
- id}&story={$story->id}&moduleID={$story->module}";
-
- $story->reviewer = isset($story->reviewer) ? $story->reviewer : array();
- $story->notReview = isset($story->notReview) ? $story->notReview : array();
-
- if(common::hasPriv('story', 'review'))
- {
- $reviewDisabled = in_array($app->user->account, $story->notReview) and ($story->status == 'draft' or $story->status == 'changed') ? '' : 'disabled';
- $story->from = 'execution';
- common::printIcon('story', 'review', "story={$story->id}&from=story", $story, 'list', 'search', '', $reviewDisabled, false, "data-group=execution");
- }
-
- if(common::hasPriv('story', 'recall'))
- {
- $recallDisabled = empty($story->reviewedBy) and strpos('draft,changed', $story->status) !== false and !empty($story->reviewer) ? '' : 'disabled';
- common::printIcon('story', 'recall', "story={$story->id}", $story, 'list', 'undo', 'hiddenwin', $recallDisabled, '', '', $lang->story->recall);
- }
-
- $lang->task->create = $lang->execution->wbs;
- $toTaskDisabled = strpos('draft,closed', $story->status) !== false ? 'disabled' : '';
- if(commonModel::isTutorialMode())
- {
- $wizardParams = helper::safe64Encode($param);
- echo html::a($this->createLink('tutorial', 'wizard', "module=task&method=create¶ms=$wizardParams"), "",'', "class='btn btn-task-create' title='{$lang->execution->wbs}' data-app='execution'");
- }
- else
- {
- if($hasDBPriv) common::printIcon('task', 'create', $param, '', 'list', 'plus', '', 'btn-task-create ' . $toTaskDisabled);
- }
-
- $lang->task->batchCreate = $lang->execution->batchWBS;
- if($hasDBPriv) common::printIcon('task', 'batchCreate', "executionID={$execution->id}&story={$story->id}", '', 'list', 'pluses', '', $toTaskDisabled);
-
- $lang->testcase->batchCreate = $lang->testcase->create;
- if($productID and $hasDBPriv and common::hasPriv('testcase', 'create'))
- {
- echo html::a($this->createLink('testcase', 'create', "productID=$story->product&branch=$story->branch&moduleID=$story->module&form=¶m=0&storyID=$story->id"), '', '', "class='btn' title='{$lang->testcase->create}' data-app='qa'");
- }
-
- if($canBeChanged and common::hasPriv('execution', 'storyEstimate', $execution))
- {
- common::printIcon('execution', 'storyEstimate', "executionID=$execution->id&storyID=$story->id", '', 'list', 'estimate', '', 'iframe', true, "data-width='600px'");
- }
-
- if($canBeChanged and common::hasPriv('execution', 'unlinkStory', $execution))
- {
- common::printIcon('execution', 'unlinkStory', "executionID=$execution->id&storyID=$story->id&confirm=no", '', 'list', 'unlink', 'hiddenwin');
- }
- }
- ?>
- |
+ $value)
+ {
+ $this->story->printCell($value, $story, $users, '', $storyStages, $modulePairs, $storyTasks, $storyBugs, $storyCases, $useDatatable ? 'datatable' : 'table', '', $execution, $showBranch);
+ }
+ ?>