Commit 1e2c13d9 authored by Lückemeyer's avatar Lückemeyer
Browse files

fixed competency name display in result view

1 merge request!1Coding style and recommendations
Showing with 3 additions and 7 deletions
+3 -7
No preview for this file type
......@@ -218,12 +218,8 @@ class ViewSubmissionUtils {
$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", floatval($shown)/floatval ($comp) . "% " .
"(" . $shown . " / " . $comp . ")", $resultrowattributes);
$body .= html_writer::tag("tr", $tmp, $resultrowattributes);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment