Commit ded97b59 by Diana Huang

Add a new status for verified certificates.

LMS-1477
parent 05e1b993
...@@ -35,11 +35,16 @@ else: ...@@ -35,11 +35,16 @@ else:
% if cert_status['show_disabled_download_button']: % if cert_status['show_disabled_download_button']:
<li class="action"><span class="disabled"> <li class="action"><span class="disabled">
${_("Your Certificate is Generating")}</span></li> ${_("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"> <li class="action">
<a class="btn" href="${cert_status['download_url']}" <a class="btn" href="${cert_status['download_url']}"
title="${_('This link will open/download a PDF document')}"> title="${_('This link will open/download a PDF document')}">
${_("Download Your PDF Certificate")}</a></li> ${_("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 % endif
% if cert_status['show_survey_button']: % if cert_status['show_survey_button']:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment