Fix percentage value display for remote score

This commit is contained in:
Sebastian Serth
2023-01-12 18:50:50 +01:00
parent dd10080ae3
commit fcc6d69982

View File

@ -38,7 +38,7 @@ class RemoteEvaluationController < ApplicationController
process_lti_response(lti_response)
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 ' \
'the submission deadline, reopen the exercise through the e-Learning platform and try again.',
status: 410,