Commit 8a851b3e by Tyler Hallada

Color the override notice differently

parent 05de4a48
...@@ -294,9 +294,13 @@ ...@@ -294,9 +294,13 @@
p { p {
margin: lh(0.5) 0; margin: lh(0.5) 0;
color: $gray-d1;; color: $gray-d1;
font-size: em(14); font-size: em(14);
font-weight: 600; font-weight: 600;
&.override-notice {
color: $red-d1;
}
} }
.scores { .scores {
......
...@@ -183,11 +183,11 @@ from django.utils.http import urlquote_plus ...@@ -183,11 +183,11 @@ 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> <em class="localized-datetime" data-datetime="${section.due}" data-string="${_('due {date}')}" data-timezone="${user_timezone}" data-language="${user_language}"></em>
%endif %endif
</p> </p>
<p> <p class="override-notice">
%if section.override is not None: %if section.override is not None:
%if section.format is not None and section.format == "Exam": %if section.format is not None and section.format == "Exam":
${_("Exam grade has been overridden due to a failed proctoring review.")} ${_("Exam grade has been overridden due to a failed proctoring review.")}
%else %else:
${_("Section grade has been overridden.")} ${_("Section grade has been overridden.")}
%endif %endif
%endif %endif
......
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