Commit 2db0efa2 by John Jarvis

Only show certificate criteria for notpassing students

parent 792ddb4d
...@@ -248,9 +248,12 @@ ...@@ -248,9 +248,12 @@
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 ('generating', '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"> % if cert_status['status'] == 'notpassing':
${"{0:.0f}%".format(float(course.lowest_passing_grade)*100)}</span>.</p> Grade required for a certificate: <span class="grade-value">
${"{0:.0f}%".format(float(course.lowest_passing_grade)*100)}</span>.
% endif
</p>
% endif % endif
% if cert_status['show_disabled_download_button'] or cert_status['show_download_url'] or cert_status['show_survey_button']: % if cert_status['show_disabled_download_button'] or cert_status['show_download_url'] or cert_status['show_survey_button']:
......
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