diff --git a/module/testreport/control.php b/module/testreport/control.php index ef44a8e118..37cb35f49c 100644 --- a/module/testreport/control.php +++ b/module/testreport/control.php @@ -309,7 +309,8 @@ class testreport extends control $this->session->set('notHead', false); $css = ''; $js = ''; - $content = "\n\n
\n\n" . $this->lang->testreport->exportNotice . '
'; + $content = "\n\n\n\n| testreport->none;?> | |||
+ testreport->$infoKey?>+ testreport->none;?> + |
+ |||
| + |
+
diff --git a/module/testreport/view/create.html.php b/module/testreport/view/create.html.php
index f4295e92d5..08e43cd281 100644
--- a/module/testreport/view/create.html.php
+++ b/module/testreport/view/create.html.php
@@ -74,12 +74,20 @@
testreport->$infoKey?> |
' . $storySummary . '';
- echo ' ' . $caseSummary . ' '; - echo '' . sprintf($lang->testreport->bugSummary, $bugInfo['countBugByTask'], $bugInfo['bugConfirmedRate'] . '%', $bugInfo['bugCreateByCaseRate'] . '%') . ' '; + echo '' . sprintf($lang->testreport->buildSummary, empty($builds) ? 1 : count($builds)) . $caseSummary . ' '; + echo '' . sprintf($lang->testreport->bugSummary, $bugInfo['countBugByTask'], count($legacyBugs), $bugInfo['bugConfirmedRate'] . '%', $bugInfo['bugCreateByCaseRate'] . '%') . ' '; unset($bugInfo['countBugByTask']); unset($bugInfo['bugConfirmedRate']); unset($bugInfo['bugCreateByCaseRate']); ?> |
|
| testreport->report?> | ++ | ||
|---|---|---|---|
| files?> | +fetch('file', 'buildform');?> | +||
' . $caseSummary . '
'; - echo '' . sprintf($lang->testreport->bugSummary, $bugInfo['countBugByTask'], $bugInfo['bugConfirmedRate'] . '%', $bugInfo['bugCreateByCaseRate'] . '%') . '
'; + echo '' . sprintf($lang->testreport->buildSummary, empty($builds) ? 1 : count($builds)) . $caseSummary . '
'; + echo '' . sprintf($lang->testreport->bugSummary, $bugInfo['countBugByTask'], count($legacyBugs), $bugInfo['bugConfirmedRate'] . '%', $bugInfo['bugCreateByCaseRate'] . '%') . '
'; unset($bugInfo['countBugByTask']); unset($bugInfo['bugConfirmedRate']); unset($bugInfo['bugCreateByCaseRate']); ?>