fixed for production - add get_history
EDUCATOR-4696 - put back get_history and update UI add pylint
This commit is contained in:
@@ -198,7 +198,7 @@ username = get_enterprise_learner_generic_name(request) or student.username
|
||||
<p class="override-notice">
|
||||
%if section.override is not None:
|
||||
<%last_override_history = section.override.get_history().order_by('created').last()%>
|
||||
%if (not last_override_history or last_override_history.feature == grades_constants.GradeOverrideFeatureEnum.proctoring) and section.format == "Exam" and earned == 0:
|
||||
%if (not last_override_history or last_override_history.system == grades_constants.GradeOverrideFeatureEnum.proctoring) and section.format == "Exam" and earned == 0:
|
||||
${_("Suspicious activity detected during proctored exam review. Exam score 0.")}
|
||||
%else:
|
||||
${_("Section grade has been overridden.")}
|
||||
|
||||
Reference in New Issue
Block a user