From 2ab00eefa79ecefa9070292811a042317a2eb7a4 Mon Sep 17 00:00:00 2001 From: Nate Hardison Date: Sat, 1 Jun 2013 11:41:50 -0700 Subject: [PATCH] Use the contact email setting instead of if/else Remove the Stanford-specific if/else hack to set the appropriate contact email address and use the `CONTACT_EMAIL` setting instead. --- lms/templates/dashboard.html | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/lms/templates/dashboard.html b/lms/templates/dashboard.html index bb69c6798c..e2fbaed9cf 100644 --- a/lms/templates/dashboard.html +++ b/lms/templates/dashboard.html @@ -294,13 +294,7 @@ ${"{0:.0f}%".format(float(course.lowest_passing_grade)*100)}. % elif cert_status['status'] == 'restricted':

- <% - if self.stanford_theme_enabled(): - contact_email = "contact@class.stanford.edu" - else: - contact_email = "info@edx.org" - %> - Your certificate is being held pending confirmation that the issuance of your certificate is in compliance with strict U.S. embargoes on Iran, Cuba, Syria and Sudan. If you think our system has mistakenly identified you as being connected with one of those countries, please let us know by contacting ${contact_email}. + Your certificate is being held pending confirmation that the issuance of your certificate is in compliance with strict U.S. embargoes on Iran, Cuba, Syria and Sudan. If you think our system has mistakenly identified you as being connected with one of those countries, please let us know by contacting ${settings.CONTACT_EMAIL}.

% endif