Commit 51c41667 authored by Lückemeyer's avatar Lückemeyer
Browse files

fixed competency evaluation order

parent c6c9e77b
Pipeline #8863 passed with stage
No preview for this file type
......@@ -37,7 +37,7 @@ $string["tests_successful"] = " successful";
$string["failures"] = " failure";
$string["compilation_errors"] = " compilation error";
$string["unknown_state"] = " with unknown state";
$string["success_competencies"] = "Successfully tested competency profile";
$string["success_competencies"] = "Successfully tested competency profile ";
$string["summary"] = "Summary";
$string["total_items"] = "Total items";
$string["success_rate"] = "Success rate";
......
......@@ -213,7 +213,7 @@ class ViewSubmissionUtils {
$comp=$overallcompetencies[$index];
$shown=$showncompetencies[$index];
// If the competency was actually assessed by the assignment and tests, add a row in the table.
// if($comp!="0") {
if($comp!="0") {
// New copy of base attributes array.
$resultrowattributes = $tablerowattributes;
$tmp = "";
......@@ -226,7 +226,7 @@ class ViewSubmissionUtils {
$resultrowattributes);
$body .= html_writer::tag("tr", $tmp, $resultrowattributes);
// }
}
}
$body = html_writer::tag("tbody", $body);
$html .= html_writer::tag("table", $header . $body, ["class" => "dtaTable"]);
......
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