Commit 13c6550a by Mike Bifulco Committed by Sarina Canelake

fix label for check/final check

This label hadn't been updated to change its message depending on whether students were on their "final" submission attempt.
parent 1665993f
......@@ -1423,7 +1423,9 @@ class CapaMixin(CapaFields):
self.track_function_unmask('save_problem_success', event_info)
msg = _("Your answers have been saved.")
if not self.max_attempts == 0:
msg = _("Your answers have been saved but not graded. Click 'Check' to grade them.")
msg = _(
"Your answers have been saved but not graded. Click '{button_name}' to grade them."
).format(button_name=self.check_button_name())
return {
'success': True,
'msg': msg,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment