<aclass="btn"href="${certificate_data.cert_web_view_url | h}"target="_blank"title="${_('View certificate in a new browser window or tab.')}">
<aclass="btn"href="${certificate_data.cert_web_view_url | h}"target="_blank">${_("View Certificate")} <spanclass="sr">${_("Opens in a new browser window")}</span></a>
${_("View Certificate")}
%elif certificate_data.cert_status == CertificateStatuses.downloadable and certificate_data.download_url:
</a>
<aclass="btn"href="${certificate_data.download_url | h}"target="_blank">${_("Download Your Certificate")} <spanclass="sr">${_("Opens in a new browser window")}</span></a>
%elif certificate_data.cert_status == CertificateStatuses.downloadable and certificate_data.download_url:
<spanclass="eligibility_msg">${_("{student_name}, you are no longer eligible for credit in this course.").format(student_name=student.profile.name) | h}</span>
<spanclass="eligibility_msg">${_("{student_name}, you are no longer eligible for credit in this course.").format(student_name=student.profile.name) | h}</span>
<spanclass="eligibility_msg">${_("{student_name}, you have met the requirements for credit in this course.").format(student_name=student.profile.name) | h}
<spanclass="eligibility_msg">${_("{student_name}, you have met the requirements for credit in this course.").format(student_name=student.profile.name) | h}
${_("{a_start}Go to your dashboard{a_end} to purchase course credit.").format(
${_("{a_start}Go to your dashboard{a_end} to purchase course credit.").format(