From acd02c78eee3891b981446f9b9432f0e6df8039b Mon Sep 17 00:00:00 2001 From: hufangzhou Date: Thu, 15 Jun 2023 17:19:51 +0800 Subject: [PATCH] * Fix bug #35909. --- module/program/view/product.html.php | 16 ++++++++-------- www/checktable.php | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/module/program/view/product.html.php b/module/program/view/product.html.php index 504b0a8429..d1d903f0ea 100644 --- a/module/program/view/product.html.php +++ b/module/program/view/product.html.php @@ -70,7 +70,7 @@ - stories['finishClosed'] + $product->stories['unclosed'];?> + finishedStories + ($product->totalStories - $product->closedStories);?> @@ -91,13 +91,13 @@ } ?> - stories['draft'];?> - stories['active'];?> - stories['changing'];?> - stories['reviewing'];?> - stories['finishClosed'] / $totalStories, 3) * 100;?>% - unResolved;?> - unResolved + $product->fixedBugs) == 0 ? 0 : round($product->fixedBugs / ($product->unResolved + $product->fixedBugs), 3) * 100;?>% + draftStories;?> + activeStories;?> + changingStories;?> + reviewingStories;?> + finishedStories / $totalStories, 3) * 100;?>% + unresolvedBugs;?> + unresolvedBugs + $product->fixedBugs) == 0 ? 0 : round($product->fixedBugs / ($product->unresolvedBugs + $product->fixedBugs), 3) * 100;?>% plans;?> releases;?> diff --git a/www/checktable.php b/www/checktable.php index 1a1e09124b..6237cf6d29 100644 --- a/www/checktable.php +++ b/www/checktable.php @@ -63,7 +63,7 @@ $lang = new stdclass(); $lang->misc = new stdclass(); $lang->storyCommon = ''; $lang->productCommon = ''; -$lang->executionCommon = ''; +$lang->executionCommon = ''; $lang->URCommon = ''; $lang->SRCommon = ''; $lang->productURCommon = '';