Skip to content
Snippets Groups Projects
Commit 2ab00eef authored by Nate Hardison's avatar Nate Hardison
Browse files

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.
parent 07511e20
No related branches found
Tags release-2020-10-30-12.40
No related merge requests found
......@@ -294,13 +294,7 @@
${"{0:.0f}%".format(float(course.lowest_passing_grade)*100)}</span>.
% elif cert_status['status'] == 'restricted':
<p class="message-copy">
<%
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 <a class="contact-link" href="mailto:${contact_email}">${contact_email}</a>.
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 <a class="contact-link" href="mailto:${settings.CONTACT_EMAIL}">${settings.CONTACT_EMAIL}</a>.
</p>
% endif
</p>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment