Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
HFTSoftwareProject
MoodleDTA
Commits
51c41667
Commit
51c41667
authored
Nov 06, 2023
by
Lückemeyer
Browse files
fixed competency evaluation order
parent
c6c9e77b
Pipeline
#8863
passed with stage
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
dta.zip
View file @
51c41667
No preview for this file type
dta/lang/en/assignsubmission_dta.php
View file @
51c41667
...
...
@@ -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"
;
...
...
dta/utils/view.php
View file @
51c41667
...
...
@@ -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"
]);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment