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

fixed competency name display in result view

parent 31a0e011
Pipeline #8865 passed with stage
No preview for this file type
......@@ -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);
}
......
Markdown is supported
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