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.
This commit is contained in:
committed by
Sarina Canelake
parent
1665993f0e
commit
13c6550aea
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user