diff --git a/module/story/view/affected.html.php b/module/story/view/affected.html.php
index ac2bfffd4a..e435960383 100644
--- a/module/story/view/affected.html.php
+++ b/module/story/view/affected.html.php
@@ -27,9 +27,7 @@
|
title;?> |
- story->statusList[$story->status];?> |
+ processStatus('story', $story);?> |
status == 'draft') unset($this->lang->story->reasonList['cancel']);?>
diff --git a/module/story/view/batchedit.html.php b/module/story/view/batchedit.html.php
index 23ea9e8ec1..fbfe7739f5 100644
--- a/module/story/view/batchedit.html.php
+++ b/module/story/view/batchedit.html.php
@@ -119,7 +119,7 @@ foreach(explode(',', $showFields) as $field)
| >pri, 'class=form-control');?> |
'>assignedTo, "class='form-control chosen'");?> |
>source, 'class=form-control');?> |
- story->statusList[$story->status];?> |
+ processStatus('story', $story);?> |
>stage, 'class="form-control"' . ($story->status == 'draft' ? ' disabled="disabled"' : ''));?> |
'>closedBy, "class='form-control" . ($story->status == 'closed' ? " chosen'" : "' disabled='disabled'"));?> |
diff --git a/module/story/view/bugs.html.php b/module/story/view/bugs.html.php
index 2ee49e27eb..191b3204b4 100644
--- a/module/story/view/bugs.html.php
+++ b/module/story/view/bugs.html.php
@@ -10,14 +10,14 @@
- | idAB;?> |
- bug->title;?> |
- priAB;?> |
- bug->type;?> |
+ idAB;?> |
+ bug->title;?> |
+ priAB;?> |
+ bug->type;?> |
statusAB;?> |
- bug->assignedTo;?> |
- bug->resolvedBy;?> |
- bug->resolution;?> |
+ bug->assignedTo;?> |
+ bug->resolvedBy;?> |
+ bug->resolution;?> |
@@ -27,7 +27,7 @@
title;?> |
bug->priList, $bug->pri, $bug->pri)?>'>pri == '0' ? '' : zget($lang->bug->priList, $bug->pri, $bug->pri);?> |
bug->typeList[$bug->type];?> |
- bug->statusList[$bug->status];?> |
+ processStatus('bug',$bug);?> |
assignedTo, $bug->assignedTo);?> |
resolvedBy, $bug->resolvedBy);?> |
bug->resolutionList[$bug->resolution];?> |
diff --git a/module/story/view/cases.html.php b/module/story/view/cases.html.php
index 587304e73b..0eab738ec6 100644
--- a/module/story/view/cases.html.php
+++ b/module/story/view/cases.html.php
@@ -27,7 +27,7 @@
title;?> |
testcase->priList, $case->pri, $case->pri)?>'>pri == '0' ? '' : zget($lang->case->priList, $case->pri, $case->pri);?> |
testcase->typeList[$case->type];?> |
- testcase->statusList[$case->status];?> |
+ processStatus('testcase', $case);?> |
lastRunner, $case->lastRunner);?> |
lastRunDate)) echo date(DT_MONTHTIME1, strtotime($case->lastRunDate));?> |
lastRunResult ? $lang->testcase->resultList[$case->lastRunResult] : '';?> |
diff --git a/module/story/view/edit.html.php b/module/story/view/edit.html.php
index 3fb5903ee9..019515db8b 100644
--- a/module/story/view/edit.html.php
+++ b/module/story/view/edit.html.php
@@ -123,7 +123,7 @@
| story->status;?> |
- story->statusList[$story->status];?> |
+ processStatus('story', $story);?> |
status != 'draft'):?>
diff --git a/module/story/view/linkstory.html.php b/module/story/view/linkstory.html.php
index e25a41dd4a..799b6e8c6f 100644
--- a/module/story/view/linkstory.html.php
+++ b/module/story/view/linkstory.html.php
@@ -61,7 +61,7 @@
| createLink('product', 'browse', "productID=$story2Link->product&branch=$story2Link->branch"), $products[$story2Link->product], '_blank');?> |
title, '_blank');?> |
planTitle;?> |
- story->statusList, $story2Link->status);?> |
+ processStatus('story', $story2Link);?> |
story->stageList, $story2Link->stage);?> |
openedBy);?> |
estimate;?> |
diff --git a/module/story/view/tasks.html.php b/module/story/view/tasks.html.php
index bf6632eac2..08ba9c6051 100644
--- a/module/story/view/tasks.html.php
+++ b/module/story/view/tasks.html.php
@@ -30,7 +30,7 @@ include '../../common/view/chart.html.php';
id;?> |
name;?> |
task->priList, $task->pri, $task->pri)?>'>pri == '0' ? '' : zget($lang->task->priList, $task->pri, $task->pri);?> |
- task->statusList[$task->status];?> |
+ processStatus('task', $task);?> |
assignedTo, $task->assignedTo);?> |
estimate;?> |
consumed;?> |
diff --git a/module/story/view/view.html.php b/module/story/view/view.html.php
index aa10740f5f..b2e5f9fbb6 100644
--- a/module/story/view/view.html.php
+++ b/module/story/view/view.html.php
@@ -195,7 +195,7 @@
| story->status;?> |
- story->statusList[$story->status];?> |
+ processStatus('story', $story);?> |
| story->stage;?> |
diff --git a/module/story/view/zerocase.html.php b/module/story/view/zerocase.html.php
index 8039ed1cb5..834f25efdb 100644
--- a/module/story/view/zerocase.html.php
+++ b/module/story/view/zerocase.html.php
@@ -63,7 +63,7 @@
openedBy];?> |
assignedTo];?> |
estimate;?> |
- story->statusList, $story->status);?> |
+ processStatus('story', $story);?> |
story->stageList, $story->stage);?> |
| |