Merge pull request #3629 from edx/jrbl/oops-fix-dashboard-template
Fix dashboard template around final grade status
This commit is contained in:
@@ -24,11 +24,8 @@ else:
|
||||
%>
|
||||
<div class="message message-status ${status_css_class} is-shown">
|
||||
|
||||
% if cert_status['status'] == 'processing' and not course.may_certify():
|
||||
% if cert_status['status'] == 'processing':
|
||||
<p class="message-copy">${_("Final course details are being wrapped up at this time. Your final standing will be available shortly.")}</p>
|
||||
% elif course.may_certify() and cert_status['status'] == 'processing':
|
||||
<!-- Certification is allowed but no cert requested, or cert unearned -->
|
||||
<!-- <p class="message-copy">${_("Your final standing is unrequested or unavailable at this time.")}</p> -->
|
||||
% elif cert_status['status'] in ('generating', 'ready', 'notpassing', 'restricted'):
|
||||
<p class="message-copy">${_("Your final grade:")}
|
||||
<span class="grade-value">${"{0:.0f}%".format(float(cert_status['grade'])*100)}</span>.
|
||||
|
||||
Reference in New Issue
Block a user