@@ -48,56 +48,52 @@ from django.utils.http import urlquote_plus
<h1class="progress-certificates-title">${_("Course Progress for Student '{username}' ({email})").format(username=student.username, email=student.email)}</h1>
</header>
%if show_generate_cert_btn:
<divclass="wrapper-msg wrapper-auto-cert">
<divid="errors-info"class="errors-info"></div>
%if passed:
<divclass="auto-cert-message"id="course-success">
<divclass="has-actions">
% if is_downloadable and download_url:
<divclass="msg-content">
<h2class="title">${_("Your certificate is available")}</h2>
%if show_cert_web_view:
<pclass="copy">${_("You can now view your certificate.")}</p>
%else:
<pclass="copy">${_(
"You can now download your certificate as a PDF. If you keep working and receive a higher grade, you can request an updated certificate.")}
</p>
%endif
</div>
<divclass="msg-actions">
%if show_cert_web_view:
<aclass="btn"href="${cert_web_view_url}"target="_blank"title="${_('View certificate in a new browser window or tab.')}">
${_("View Certificate")}
</a>
%else:
<aclass="btn"href="${download_url}"target="_blank"title="${_('PDF will open in a new browser window or tab.')}">
${_("Download Your Certificate")}
</a>
%endif
</div>
%elif is_generating:
<divclass="msg-content">
<h2class="title">${_("We're working on it...")}</h2>
<pclass="copy">${_("We're creating your certificate. You can keep working in your courses and a link to it will appear here and on your Dashboard when it is ready.")}</p>
</div>
<divclass="msg-actions"></div>
%else:
<divclass="msg-content">
<h2class="title">${_("Congratulations, you qualified for a certificate!")}</h2>
<pclass="copy">${_("You can keep working for a higher grade, or request your certificate now.")}</p>
<h2class="title">${_("Your certificate is available")}</h2>
<pclass="copy">
${_("You can now access your certificate. If you keep working and receive a higher grade,you can request an {link_start} updated certificate {link_end}.").format(
<aclass="btn"href="${cert_web_view_url}"target="_blank"title="${_('View certificate in a new browser window or tab.')}">
${_("View Certificate")}
</a>
%elif download_url:
<aclass="btn"href="${download_url}"target="_blank"title="${_('PDF will open in a new browser window or tab.')}">
${_("Download Your Certificate")}
</a>
%endif
</div>
%elif is_generating:
<divclass="msg-content">
<h2class="title">${_("We're working on it...")}</h2>
<pclass="copy">${_("We're creating your certificate. You can keep working in your courses and a link to it will appear here and on your Dashboard when it is ready.")}</p>
</div>
<divclass="msg-actions"></div>
%else:
<divclass="msg-content">
<h2class="title">${_("Congratulations, you qualified for a certificate!")}</h2>
<pclass="copy">${_("You can keep working for a higher grade, or request your certificate now.")}</p>