@@ -52,57 +52,60 @@ from openedx.core.djangolib.markup import Text, HTML
</%block>
<%blockname="bodyclass">view-in-course view-course-info ${course.css_class or ''}</%block>
<sectionclass="container">
<divclass="home">
<divclass="page-header-main">
<h1class="page-title">${_("Welcome to {org}'s {course_name}!").format(org=course.display_org_with_default, course_name=course.display_number_with_default)}</h1>
<h1class="page-title">${_("Welcome to {org}'s {course_name}!").format(org=course.display_org_with_default, course_name=course.display_number_with_default)}</h1>
<h2class="title">${_("Your certificate is available")}</h2>
<pclass="copy">
${_("You can keep working for a higher grade, or request your certificate now.")}
</p>
</div>
<divclass="msg-actions">
%if show_cert_web_view and cert_web_view_url:
<aclass="btn"href="${cert_web_view_url | h}"target="_blank"title="${_('View certificate in a new browser window or tab.')}">
${_("View Certificate")}
</a>
%elif download_url:
<aclass="btn"href="${download_url | h}"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">
## Translators: This message appears to users when the system is processessing course certificates, which can take a few hours.
<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 keep working for a higher grade, or request your certificate now.")}
</p>
</div>
<divclass="msg-actions">
%if show_cert_web_view and cert_web_view_url:
<aclass="btn"href="${cert_web_view_url | h}"target="_blank"title="${_('View certificate in a new browser window or tab.')}">
${_("View Certificate")}
</a>
%elif download_url:
<aclass="btn"href="${download_url | h}"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">
## Translators: This message appears to users when the system is processessing course certificates, which can take a few hours.
<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>
<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}
${_("{a_start}Go to your dashboard{a_end} to purchase course credit.").format(
<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}
${_("{a_start}Go to your dashboard{a_end} to purchase course credit.").format(
@@ -8,11 +8,13 @@ from openedx.core.djangolib.markup import Text, HTML
<%blockname="pagetitle">${_("Page Not Found")}</%block>
<sectionclass="outside-app">
<h1>${_("Page not found")}</h1>
<p>${Text(_('The page that you were looking for was not found. Go back to the {link_start}homepage{link_end} or let us know about any pages that may have been moved at {email}.')).format(
<p>${Text(_('The page that you were looking for was not found. Go back to the {link_start}homepage{link_end} or let us know about any pages that may have been moved at {email}.')).format(