Commit 792ddb4d by John Jarvis

Show grade when certificate is generating

parent d13509e6
...@@ -243,10 +243,10 @@ ...@@ -243,10 +243,10 @@
%> %>
<div class="message message-status ${status_css_class} is-shown"> <div class="message message-status ${status_css_class} is-shown">
% if cert_status['status'] in ('processing', 'generating'): % if cert_status['status'] == 'processing':
<p class="message-copy">Final course details are being wrapped up at <p class="message-copy">Final course details are being wrapped up at
this time. Your final standing will be available shortly.</p> this time. Your final standing will be available shortly.</p>
% elif cert_status['status'] in ('ready', 'notpassing'): % elif cert_status['status'] in ('generating', 'ready', 'notpassing'):
<p class="message-copy">Your final grade: <p class="message-copy">Your final grade:
<span class="grade-value">${"{0:.0f}%".format(float(cert_status['grade'])*100)}</span>, <span class="grade-value">${"{0:.0f}%".format(float(cert_status['grade'])*100)}</span>,
grade required for certificate: <span class="grade-value"> grade required for certificate: <span class="grade-value">
......
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