"...moodle-assignsubmission_dta.git" did not exist on "08e3f85ab91eae9870a39151ab9c72e6970057aa"
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
...@@ -217,13 +217,9 @@ class ViewSubmissionUtils { ...@@ -217,13 +217,9 @@ class ViewSubmissionUtils {
// New copy of base attributes array. // New copy of base attributes array.
$resultrowattributes = $tablerowattributes; $resultrowattributes = $tablerowattributes;
$tmp = ""; $tmp = "";
$tmp .= html_writer::tag("td", get_string("comp" . $index, self::COMPONENT_NAME), $resultrowattributes); $tmp .= html_writer::tag("td", get_string("comp" . $index, self::COMPONENT_NAME), $resultrowattributes);
$tmp .= html_writer::tag("td", floatval($shown)/floatval ($comp) . "% " .
$tmp = ""; "(" . $shown . " / " . $comp . ")", $resultrowattributes);
$tmp .= html_writer::tag("td",
// floatval($shown)/floatval ($comp) . "% " .
"(" . $shown . " / " . $comp . ")",
$resultrowattributes);
$body .= html_writer::tag("tr", $tmp, $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