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

fixed competency evaluation order

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