Skip to content

Commit

Permalink
SAK-44371 samigo > provide custom error message for invalid adjusted …
Browse files Browse the repository at this point in the history
…score value (sakaiproject#8670)

(cherry picked from commit 61e49b1)
  • Loading branch information
bjones86 authored and ern committed Oct 30, 2020
1 parent c4407a3 commit f0f2891
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -320,13 +320,14 @@ how_content_5=- Click the <b>Save Settings</b> button.
applyGradesDesc=to all participants with "No Submission".
applyGradesDescAvg=to all participants with 0 submissions.
applyGrades=Apply This Score
number_format_error_user_id_apply=You must enter a real number to apply a score to all students without a submission.

number_format_error_user_id_apply=You must enter a real number to apply a score to all students without a submission.
number_format_error_user_id=You must enter a real number to adjust the score for User Id(s)
number_format_error_submission_id=You must enter a real number to adjust the score for Submission id(s)
number_format_error_adjusted_score=You must enter a real number to adjust the score for this question.

data_discrepancy_title=Data Discrepancy
data_discrepancy_1=You are seeing this page because you are grading this assessement in multiple browser windows.
data_discrepancy_1=You are seeing this page because you are grading this assessment in multiple browser windows.
data_discrepancy_2=Please close all windows except one.

show_hotspotanswer=On Image
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,8 @@ function toPoint(id)
<h:outputText value="#{deliveryMessages.q} #{question.number} #{deliveryMessages.of} " />
<h:outputText value="#{part.questions}#{deliveryMessages.column} " />
</span>
<h:inputText styleClass="form-control adjustedScore#{studentScores.assessmentGradingId}.#{question.itemData.itemId}" id="adjustedScore" value="#{question.pointsForEdit}" onchange="toPoint(this.id);" >
<h:inputText styleClass="form-control adjustedScore#{studentScores.assessmentGradingId}.#{question.itemData.itemId}" id="adjustedScore" value="#{question.pointsForEdit}" onchange="toPoint(this.id);"
validatorMessage="#{evaluationMessages.number_format_error_adjusted_score}">
<f:validateDoubleRange/>
</h:inputText>
<span class="input-group-addon">
Expand Down

0 comments on commit f0f2891

Please sign in to comment.