twins) ? count(explode( ',', trim($story->twins, ','))) + 1 : 0; $lang->story->currentBranch = sprintf($this->lang->story->currentBranch, $this->lang->product->branchName[$product->type]); js::set('relieveURL', inlink('ajaxRelieveTwins')); js::set('storyID', $story->id); js::set('relieved', $lang->story->relieved); js::set('relievedTip', $lang->story->relievedTip); js::set('cancel', $lang->cancel); $canViewLinkStory = common::hasPriv('story', 'view'); $canRelieved = common::hasPriv('story', 'relieved'); array_unshift($twins, $story); $twinsClass = isonlybody() ? 'showinonlybody' : 'iframe'; }?>
| task->id;?> | task->name;?> | task->assignedTo;?> | task->status;?> | task->consumed;?> | task->left;?> |
|---|---|---|---|---|---|
| id;?> | createLink('task', 'view', "taskID=$task->id"), $task->name, '_blank');?> | assignedTo);?> | processStatus('task', $task);?> | consumed;?> | left;?> |
| idAB;?> | bug->title;?> | statusAB;?> | bug->openedBy;?> | bug->resolvedBy;?> | bug->resolution;?> | bug->lastEditedBy;?> |
|---|---|---|---|---|---|---|
| id;?> | createLink('bug', 'view', "bugID=$bug->id"), $bug->title, '_blank');?> | processStatus('bug', $bug);?> | openedBy);?> | resolvedBy);?> | bug->resolutionList[$bug->resolution];?> | lastEditedBy);?> |
| idAB;?> | testcase->title;?> | statusAB;?> | testcase->openedBy;?> | testcase->lastEditedBy;?> |
|---|---|---|---|---|
| id;?> | createLink('testcase', 'view', "caseID=$case->id"), $case->title, '_blank');?> | processStatus('testcase', $case);?> | openedBy);?> | lastEditedBy);?> |
| idAB;?> | story->branch;?> | story->title;?> | statusAB;?> | story->stageAB;?> | story->openedBy;?> | story->lastEditedByAB;?> |
|---|---|---|---|---|---|---|
| id;?> | createLink('story', 'view', "id=$twin->id", '', true), "$twin->title", '', "class='$twinsClass viewlink'") : "$twin->title"); if($canRelieved) echo "";?> | processStatus('story', $twin);?> | story->stageList[$twin->stage];?> | openedBy);?> | lastEditedBy);?> |