@@ -52,7 +51,6 @@
| id", $task->name)) echo $task->name;?> |
>ownerRealName;?> |
left;?> |
- task->typeList[$task->type];?> |
delay)) echo 'delayed';?>>deadline, 0, 4) > 0) echo $task->deadline;?> |
status;?> >task->statusList[$task->status];?> |
diff --git a/trunk/module/project/view/linkstory.html.php b/trunk/module/project/view/linkstory.html.php
index 7cabaa56b4..c9409b468e 100644
--- a/trunk/module/project/view/linkstory.html.php
+++ b/trunk/module/project/view/linkstory.html.php
@@ -29,24 +29,25 @@
- | story->id;?> |
- story->pri;?> |
- story->product;?> |
+ idAB;?> |
+ priAB;?> |
+ story->product;?> |
story->title;?> |
story->plan;?> |
- story->openedBy;?> |
- story->estimate;?> |
- story->linkStory;?> |
+ openedByAB;?> |
+ story->estimateAB;?> |
+ link;?> |
id])) continue;?>
+ createLink('story', 'view', "storyID=$story->id");?>
- | id;?> |
- pri;?> |
+ id);?> |
+ story->priList[$story->pri];?> |
createLink('product', 'browse', "productID=$story->product"), $products[$story->product], '_blank');?> |
- createLink('story', 'view', "story=$story->id"), $story->title);?> |
+ title);?> |
planTitle;?> |
openedBy];?> |
estimate;?> |
diff --git a/trunk/module/project/view/story.html.php b/trunk/module/project/view/story.html.php
index c1953f09e4..9218177b35 100644
--- a/trunk/module/project/view/story.html.php
+++ b/trunk/module/project/view/story.html.php
@@ -31,69 +31,62 @@ $(document).ready(function()
$("a.iframe").colorbox({width:640, height:480, iframe:true, transition:'none'});
});
-
-
-
-
-
- createLink('project', 'linkstory', "project=$project->id"), $lang->project->linkStory);?>
-
-
-
-
+
+ project->story;?>
+
+ createLink('project', 'linkstory', "project=$project->id"), $lang->project->linkStory);?>
+
+
- | story->id;?> |
- story->pri;?> |
- story->title;?> |
- story->assignedTo;?> |
- story->openedBy;?> |
- story->estimate;?> |
- story->status;?> |
- story->stage;?> |
- actions;?> |
+ idAB;?> |
+ priAB;?> |
+ story->title;?> |
+ openedByAB;?> |
+ assignedToAB;?> |
+ story->estimateAB;?> |
+ statusAB;?> |
+ story->stageAB;?> |
+ story->taskCount;?> |
+ actions;?> |
$story):?>
createLink('story', 'view', "storyID=$story->id");
- $canView = common::hasPriv('story', 'view');
+ $storyLink = $this->createLink('story', 'view', "storyID=$story->id");
$totalEstimate += $story->estimate;
?>
- | id)); else printf('%03d', $story->id);?> |
- pri;?> |
-
- title;
- if($storyTasks[$story->id] > 0)
- {
- echo ' ' . html::a($this->createLink('story', 'tasks', "storyID=$story->id&projectID=$project->id"), '('. $storyTasks[$story->id] . ')', '', 'class=iframe');
- }
- else
- {
- echo ' (0)';
- }
- ?>
- |
- assignedTo];?> |
+ id));?> |
+ story->priList[$story->pri];?> |
+ title);?> |
openedBy];?> |
+ assignedTo];?> |
estimate;?> |
story->statusList[$story->status];?> |
story->stageList[$story->stage];?> |
+
+ createLink('story', 'tasks', "storyID=$story->id&projectID=$project->id");
+ $storyTasks[$story->id] > 0 ? print(html::a($tasksLink, $storyTasks[$story->id], '', 'class="iframe"')) : print(0);
+ ?>
+ |
- createLink('task', 'create', "projectID={$project->id}&story={$story->id}"), $lang->task->create);?>
- createLink('project', 'unlinkStory', "projectID={$project->id}&story={$story->id}&confirm=no"), $lang->project->unlinkStory, 'hiddenwin');?>
+ id}&story={$story->id}";
+ common::printLink('task', 'create', $param, $lang->project->wbs);
+ common::printLink('project', 'unlinkStory', $param, $lang->unlink, 'hiddenwin');
+ ?>
|
- | project->storySummary, count($stories), $totalEstimate);?> |
+ | project->storySummary, count($stories), $totalEstimate);?> |
diff --git a/trunk/module/project/view/task.html.php b/trunk/module/project/view/task.html.php
index 6617e465dc..66d82d9b73 100644
--- a/trunk/module/project/view/task.html.php
+++ b/trunk/module/project/view/task.html.php
@@ -30,18 +30,17 @@
id&status=all&orderBy=%s&recTotal=$recTotal&recPerPage=$recPerPage"; ?>
- | task->id);?> |
- task->pri);?> |
- task->name);?> |
- task->owner);?> |
- task->estimate);?> |
- task->consumed);?> |
- task->left);?> |
- task->type);?> |
- task->deadline);?> |
- task->status);?> |
- task->story);?> |
- actions;?> |
+ idAB);?> |
+ priAB);?> |
+ task->name);?> |
+ task->owner);?> |
+ task->estimateAB);?> |
+ task->consumedAB);?> |
+ task->leftAB);?> |
+ task->deadlineAB);?> |
+ statusAB);?> |
+ task->story);?> |
+ actions;?> |
@@ -49,13 +48,12 @@
owner == $app->user->account ? 'style=color:red' : '';?>
| id", sprintf('%03d', $task->id))) printf('%03d', $task->id);?> |
- pri;?> |
+ task->priList[$task->pri];?> |
id", $task->name)) echo $task->name;?> |
>ownerRealName;?> |
estimate;?> |
consumed;?> |
left;?> |
- task->typeList[$task->type];?> |
delay)) echo 'delayed';?>>deadline, 0, 4) > 0) echo $task->deadline;?> |
status;?> >
-
-
-
id", $lang->task->create);
common::printLink('project', 'importTask', "project=$project->id", $lang->project->importTask);
+ common::printLink('task', 'create', "project=$project->id", $lang->task->create);
?>
| |