From 631580ccaf9f4701c84c811b2e7a61adba1cfacf Mon Sep 17 00:00:00 2001 From: John Jarvis Date: Mon, 26 Nov 2012 16:30:23 -0500 Subject: [PATCH] Changing grade info on the dashboard --- lms/templates/dashboard.html | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/lms/templates/dashboard.html b/lms/templates/dashboard.html index 177eb276af..a367c36b38 100644 --- a/lms/templates/dashboard.html +++ b/lms/templates/dashboard.html @@ -243,16 +243,13 @@ %>
- % if cert_status['status'] == 'processing': + % if cert_status['status'] in ('processing', 'generating'):

Final course details are being wrapped up at this time. Your final standing will be available shortly.

- % elif cert_status['status'] in ('generating', 'ready'): -

You have received a grade of - ${cert_status['grade']} - in this course.

- % elif cert_status['status'] == 'notpassing': -

You did not complete the necessary requirements for - completion of this course.

+ % elif cert_status['status'] in ('generating', 'ready', 'notpassing'): +

Your final grade: + ${cert_status['grade']}, + grade required for certificate: ${course.lowest_passing_grade()}.

% endif % if cert_status['show_disabled_download_button'] or cert_status['show_download_url'] or cert_status['show_survey_button']: