diff --git a/dta.zip b/dta.zip index a8faaeccf30697a162d13dad3847bb97551c0946..ab0c893d2e51d8616d3cd6dae3d04b24be444f01 100644 Binary files a/dta.zip and b/dta.zip differ diff --git a/dta/utils/view.php b/dta/utils/view.php index 044ef7c3a354772106101f724e565e89a7b1843b..bddc748239b3c1d4ec32db9e830089e18669fbec 100644 --- a/dta/utils/view.php +++ b/dta/utils/view.php @@ -217,13 +217,9 @@ class ViewSubmissionUtils { // New copy of base attributes array. $resultrowattributes = $tablerowattributes; $tmp = ""; - $tmp .= html_writer::tag("td", get_string("comp" . $index, self::COMPONENT_NAME), $resultrowattributes); - - $tmp = ""; - $tmp .= html_writer::tag("td", -// floatval($shown)/floatval ($comp) . "% " . - "(" . $shown . " / " . $comp . ")", - $resultrowattributes); + $tmp .= html_writer::tag("td", get_string("comp" . $index, self::COMPONENT_NAME), $resultrowattributes); + $tmp .= html_writer::tag("td", floatval($shown)/floatval ($comp) . "% " . + "(" . $shown . " / " . $comp . ")", $resultrowattributes); $body .= html_writer::tag("tr", $tmp, $resultrowattributes); }