Commit 4e011326 by David Ormsbee

Replace placeholder 'Course Name' in paid cert templates with the actual course name

parent 20d72ea7
......@@ -3,7 +3,7 @@
<%inherit file="../main.html" />
<%block name="bodyclass">register verification-process step-select-track</%block>
<%block name="title"><title>${("Register for [Course Name] | Choose Your Track")}</title></%block>
<%block name="title"><title>${_("Register for {} | Choose Your Track").format(course_name)}</title></%block>
<%block name="js_extra">
<script type="text/javascript">
......@@ -37,7 +37,7 @@ $(document).ready(function() {
<div class="container">
<section class="wrapper">
<%include file="/verify_student/_verification_header.html" />
<%include file="/verify_student/_verification_header.html" args="course_name=course_name" />
<div class="wrapper-register-choose wrapper-content-main">
<article class="register-choose content-main">
......
......@@ -142,7 +142,11 @@ def show_requirements(request, course_id):
"""
Show the requirements necessary for
"""
context = {"course_id": course_id, "is_not_active": not request.user.is_active}
context = {
"course_id": course_id,
"is_not_active": not request.user.is_active,
"course_name" : course_from_id(course_id).display_name,
}
return render_to_response("verify_student/show_requirements.html", context)
......
......@@ -4,7 +4,7 @@
<h2 class="title">
<span class="wrapper-sts">
<span class="sts">${_("You are registering for")}</span>
<span class="sts-course">${course_id}</span>
<span class="sts-course">${course_name}</span>
</span>
<span class="sts-track">
<span class="sts-track-value">
......
......@@ -4,7 +4,7 @@
<%namespace name='static' file='/static_content.html'/>
<%block name="bodyclass">register verification-process step-photos</%block>
<%block name="title"><title>${("Register for [Course Name] | Verification")}</title></%block>
<%block name="title"><title>${_("Register for {} | Verification").format(course_name)}</title></%block>
<%block name="js_extra">
<script src="${static.url('js/vendor/responsive-carousel/responsive-carousel.js')}"></script>
......@@ -16,7 +16,7 @@
<div class="container">
<section class="wrapper">
<%include file="_verification_header.html" />
<%include file="_verification_header.html" args="course_name=course_name" />
<div class="wrapper-progress">
<section class="progress">
......
......@@ -2,7 +2,7 @@
<%! from django.core.urlresolvers import reverse %>
<%inherit file="../main.html" />
<%block name="bodyclass">register verification-process step-requirements</%block>
<%block name="title"><title>${("Register for [Course Name]")}</title></%block>
<%block name="title"><title>${_("Register for {}").format(course_name)}</title></%block>
<%block name="content">
%if is_not_active:
......@@ -22,7 +22,7 @@
<div class="container">
<section class="wrapper">
<%include file="_verification_header.html" />
<%include file="_verification_header.html" args="course_name=course_name"/>
<div class="wrapper-progress">
<section class="progress">
......
......@@ -4,7 +4,7 @@
<%namespace name='static' file='/static_content.html'/>
<%block name="bodyclass">register verification-process is-verified</%block>
<%block name="title"><title>${("Register for [Course Name] | Verification")}</title></%block>
<%block name="title"><title>${_("Register for {} | Verification").format(course_name)}</title></%block>
<%block name="js_extra">
<script type="text/javascript">
......
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