Fix percentage value display for remote score
This commit is contained in:
@ -38,7 +38,7 @@ class RemoteEvaluationController < ApplicationController
|
|||||||
process_lti_response(lti_response)
|
process_lti_response(lti_response)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
message: "Your submission was successfully scored with #{@submission.normalized_score}%. " \
|
message: "Your submission was successfully scored with #{@submission.normalized_score * 100}%. " \
|
||||||
'However, your score could not be sent to the e-Learning platform. Please check ' \
|
'However, your score could not be sent to the e-Learning platform. Please check ' \
|
||||||
'the submission deadline, reopen the exercise through the e-Learning platform and try again.',
|
'the submission deadline, reopen the exercise through the e-Learning platform and try again.',
|
||||||
status: 410,
|
status: 410,
|
||||||
|
Reference in New Issue
Block a user