From 2db0efa2b4b617d8f2c3a8b6b7de932330dfaa89 Mon Sep 17 00:00:00 2001 From: John Jarvis Date: Mon, 26 Nov 2012 17:57:38 -0500 Subject: [PATCH] Only show certificate criteria for notpassing students --- lms/templates/dashboard.html | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lms/templates/dashboard.html b/lms/templates/dashboard.html index c254eb10ed..d9b57ac044 100644 --- a/lms/templates/dashboard.html +++ b/lms/templates/dashboard.html @@ -248,9 +248,12 @@ this time. Your final standing will be available shortly.

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

Your final grade: - ${"{0:.0f}%".format(float(cert_status['grade'])*100)}, - grade required for certificate: - ${"{0:.0f}%".format(float(course.lowest_passing_grade)*100)}.

+ ${"{0:.0f}%".format(float(cert_status['grade'])*100)}. + % if cert_status['status'] == 'notpassing': + Grade required for a certificate: + ${"{0:.0f}%".format(float(course.lowest_passing_grade)*100)}. + % endif +

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