Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
HFTSoftwareProject
MoodleDTA
Commits
1e2c13d9
Commit
1e2c13d9
authored
Nov 06, 2023
by
Lückemeyer
Browse files
fixed competency name display in result view
parent
31a0e011
Pipeline
#8865
passed with stage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
dta.zip
View file @
1e2c13d9
No preview for this file type
dta/utils/view.php
View file @
1e2c13d9
...
...
@@ -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
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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