Add override notice to progress page
This commit is contained in:
@@ -130,6 +130,7 @@ class SubsectionGrade(SubsectionGradeBase):
|
||||
graded=False,
|
||||
first_attempted=model.first_attempted,
|
||||
)
|
||||
self.override = model.override if hasattr(model, 'override') else None
|
||||
self._log_event(log.debug, u"init_from_model", student)
|
||||
return self
|
||||
|
||||
|
||||
@@ -183,6 +183,15 @@ from django.utils.http import urlquote_plus
|
||||
<em class="localized-datetime" data-datetime="${section.due}" data-string="${_('due {date}')}" data-timezone="${user_timezone}" data-language="${user_language}"></em>
|
||||
%endif
|
||||
</p>
|
||||
<p>
|
||||
%if section.override is not None:
|
||||
%if section.format is not None and section.format == "Exam":
|
||||
${_("Exam grade has been overridden due to a failed proctoring review.")}
|
||||
%else
|
||||
${_("Section grade has been overridden.")}
|
||||
%endif
|
||||
%endif
|
||||
</p>
|
||||
%if len(section.problem_scores.values()) > 0:
|
||||
%if section.show_grades(staff_access):
|
||||
<dl class="scores">
|
||||
|
||||
Reference in New Issue
Block a user