Add a new status for verified certificates.

LMS-1477
This commit is contained in:
Diana Huang
2013-11-07 17:41:11 -05:00
parent 05e1b99388
commit ded97b59da

View File

@@ -35,11 +35,16 @@ else:
% if cert_status['show_disabled_download_button']:
<li class="action"><span class="disabled">
${_("Your Certificate is Generating")}</span></li>
% elif cert_status['show_download_url']:
% elif cert_status['show_download_url'] and enrollment.mode == 'honor':
<li class="action">
<a class="btn" href="${cert_status['download_url']}"
title="${_('This link will open/download a PDF document')}">
${_("Download Your PDF Certificate")}</a></li>
% elif cert_status['show_download_url'] and enrollment.mode == 'verified':
<li class="action">
<a class="btn" href="${cert_status['download_url']}"
title="${_('This link will open/download a PDF document of your verified certificate.')}">
${_("Download Your PDF Certificate")}</a></li>
% endif
% if cert_status['show_survey_button']: