Commit e7900859 by Calen Pennington

Remove the 'title' alias for lms.display_name

parent 3b7a589e
...@@ -135,7 +135,7 @@ def index(request): ...@@ -135,7 +135,7 @@ def index(request):
return render_to_response('index.html', { return render_to_response('index.html', {
'new_course_template': Location('i4x', 'edx', 'templates', 'course', 'Empty'), 'new_course_template': Location('i4x', 'edx', 'templates', 'course', 'Empty'),
'courses': [(course.title, 'courses': [(course.lms.display_name,
reverse('course_index', args=[ reverse('course_index', args=[
course.location.org, course.location.org,
course.location.course, course.location.course,
......
...@@ -742,10 +742,6 @@ class CourseDescriptor(SequenceDescriptor): ...@@ -742,10 +742,6 @@ class CourseDescriptor(SequenceDescriptor):
return exams[0] if len(exams) == 1 else None return exams[0] if len(exams) == 1 else None
@property @property
def title(self):
return self.display_name
@property
def number(self): def number(self):
return self.location.course return self.location.course
......
...@@ -95,7 +95,7 @@ def course_wiki_redirect(request, course_id): ...@@ -95,7 +95,7 @@ def course_wiki_redirect(request, course_id):
root, root,
course_slug, course_slug,
title=course_slug, title=course_slug,
content="This is the wiki for **{0}**'s _{1}_.".format(course.org, course.title), content="This is the wiki for **{0}**'s _{1}_.".format(course.org, course.lms.display_name),
user_message="Course page automatically created.", user_message="Course page automatically created.",
user=None, user=None,
ip_address=None, ip_address=None,
......
...@@ -282,7 +282,7 @@ def index(request, course_id, chapter=None, section=None, ...@@ -282,7 +282,7 @@ def index(request, course_id, chapter=None, section=None,
context = { context = {
'csrf': csrf(request)['csrf_token'], 'csrf': csrf(request)['csrf_token'],
'accordion': render_accordion(request, course, chapter, section, model_data_cache), 'accordion': render_accordion(request, course, chapter, section, model_data_cache),
'COURSE_TITLE': course.title, 'COURSE_TITLE': course.lms.display_name,
'course': course, 'course': course,
'init': '', 'init': '',
'content': '', 'content': '',
......
...@@ -199,7 +199,7 @@ ...@@ -199,7 +199,7 @@
%> %>
<a href="${course_target}" class="cover"> <a href="${course_target}" class="cover">
<img src="${course_image_url(course)}" /> <img src="${course_image_url(course)}" />
</a> </a>
...@@ -216,7 +216,7 @@ ...@@ -216,7 +216,7 @@
% endif % endif
</p> </p>
<h2 class="university">${get_course_about_section(course, 'university')}</h2> <h2 class="university">${get_course_about_section(course, 'university')}</h2>
<h3><a href="${course_target}">${course.number} ${course.title}</a></h3> <h3><a href="${course_target}">${course.number} ${course.lms.display_name}</a></h3>
</hgroup> </hgroup>
<% <%
...@@ -226,7 +226,7 @@ ...@@ -226,7 +226,7 @@
%> %>
% if testcenter_exam_info is not None: % if testcenter_exam_info is not None:
% if registration is None and testcenter_exam_info.is_registering(): % if registration is None and testcenter_exam_info.is_registering():
<div class="message message-status is-shown exam-register"> <div class="message message-status is-shown exam-register">
<a href="${testcenter_register_target}" class="button exam-button" id="exam_register_button">Register for Pearson exam</a> <a href="${testcenter_register_target}" class="button exam-button" id="exam_register_button">Register for Pearson exam</a>
<p class="message-copy">Registration for the Pearson exam is now open and will close on <strong>${testcenter_exam_info.registration_end_date_text}</strong></p> <p class="message-copy">Registration for the Pearson exam is now open and will close on <strong>${testcenter_exam_info.registration_end_date_text}</strong></p>
...@@ -234,25 +234,25 @@ ...@@ -234,25 +234,25 @@
% endif % endif
<!-- display a registration for a current exam, even if the registration period is over --> <!-- display a registration for a current exam, even if the registration period is over -->
% if registration is not None: % if registration is not None:
% if registration.is_accepted: % if registration.is_accepted:
<div class="message message-status is-shown exam-schedule"> <div class="message message-status is-shown exam-schedule">
<a href="${registration.registration_signup_url}" class="button exam-button">Schedule Pearson exam</a> <a href="${registration.registration_signup_url}" class="button exam-button">Schedule Pearson exam</a>
<p class="exam-registration-number"><a href="${testcenter_register_target}" id="exam_register_link">Registration</a> number: <strong>${registration.client_candidate_id}</strong></p> <p class="exam-registration-number"><a href="${testcenter_register_target}" id="exam_register_link">Registration</a> number: <strong>${registration.client_candidate_id}</strong></p>
<p class="message-copy">Write this down! You’ll need it to schedule your exam.</p> <p class="message-copy">Write this down! You’ll need it to schedule your exam.</p>
</div> </div>
% endif % endif
% if registration.is_rejected: % if registration.is_rejected:
<div class="message message-status is-shown exam-schedule"> <div class="message message-status is-shown exam-schedule">
<p class="message-copy"><strong>Your registration for the Pearson exam has been rejected. Please <a href="${testcenter_register_target}" id="exam_register_link">see your registration status details</a></strong>. Otherwise <a class="contact-link" href="mailto:exam-help@edx.org?subject=Pearson VUE Exam - ${get_course_about_section(course, 'university')} ${course.number}">contact edX at exam-help@edx.org</a> for further help.</p> <p class="message-copy"><strong>Your registration for the Pearson exam has been rejected. Please <a href="${testcenter_register_target}" id="exam_register_link">see your registration status details</a></strong>. Otherwise <a class="contact-link" href="mailto:exam-help@edx.org?subject=Pearson VUE Exam - ${get_course_about_section(course, 'university')} ${course.number}">contact edX at exam-help@edx.org</a> for further help.</p>
</div> </div>
% endif % endif
% if not registration.is_accepted and not registration.is_rejected: % if not registration.is_accepted and not registration.is_rejected:
<div class="message message-status is-shown"> <div class="message message-status is-shown">
<p class="message-copy"><strong>Your <a href="${testcenter_register_target}" id="exam_register_link">registration for the Pearson exam</a> is pending</strong>. Within a few days, you should see a confirmation number here, which can be used to schedule your exam.</p> <p class="message-copy"><strong>Your <a href="${testcenter_register_target}" id="exam_register_link">registration for the Pearson exam</a> is pending</strong>. Within a few days, you should see a confirmation number here, which can be used to schedule your exam.</p>
</div> </div>
% endif % endif
% endif % endif
% endif % endif
<% <%
cert_status = cert_statuses.get(course.id) cert_status = cert_statuses.get(course.id)
...@@ -314,13 +314,13 @@ ...@@ -314,13 +314,13 @@
<a href="${course_target}" class="enter-course archived">View Archived Course</a> <a href="${course_target}" class="enter-course archived">View Archived Course</a>
% else: % else:
<a href="${course_target}" class="enter-course">View Course</a> <a href="${course_target}" class="enter-course">View Course</a>
% endif % endif
% endif % endif
<a href="#unenroll-modal" class="unenroll" rel="leanModal" data-course-id="${course.id}" data-course-number="${course.number}">Unregister</a> <a href="#unenroll-modal" class="unenroll" rel="leanModal" data-course-id="${course.id}" data-course-number="${course.number}">Unregister</a>
</section> </section>
</article> </article>
% endfor % endfor
% else: % else:
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
<div class="sidebar"></div> <div class="sidebar"></div>
<div class="discussion-column"> <div class="discussion-column">
<div class="discussion-article blank-slate"> <div class="discussion-article blank-slate">
<h1>${course.title} Discussion</h1> <h1>${course.lms.display_name} Discussion</h1>
</div> </div>
</div> </div>
......
...@@ -41,7 +41,7 @@ site_status_msg = get_site_status_msg(course_id) ...@@ -41,7 +41,7 @@ site_status_msg = get_site_status_msg(course_id)
<h1 class="logo"><a href="${reverse('root')}"><img src="${static.url(branding.get_logo_url(request.META.get('HTTP_HOST')))}"/></a></h1> <h1 class="logo"><a href="${reverse('root')}"><img src="${static.url(branding.get_logo_url(request.META.get('HTTP_HOST')))}"/></a></h1>
% if course: % if course:
<h2><span class="provider">${course.org}:</span> ${course.number} ${course.title}</h2> <h2><span class="provider">${course.org}:</span> ${course.number} ${course.lms.display_name}</h2>
% endif % endif
<ol class="left find-courses-button"> <ol class="left find-courses-button">
......
...@@ -31,8 +31,8 @@ ...@@ -31,8 +31,8 @@
// when a form is successfully filled out, return back to the dashboard. // when a form is successfully filled out, return back to the dashboard.
location.href="${reverse('dashboard')}"; location.href="${reverse('dashboard')}";
} else { } else {
// This is performed by the following code that parses the errors returned as json by the // This is performed by the following code that parses the errors returned as json by the
// registration form validation. // registration form validation.
var field_errors = json.field_errors; var field_errors = json.field_errors;
var non_field_errors = json.non_field_errors; var non_field_errors = json.non_field_errors;
var fieldname; var fieldname;
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
$("[id='"+field_id+"']").addClass('error'); $("[id='"+field_id+"']").addClass('error');
field_errorlist = field_errors[fieldname]; field_errorlist = field_errors[fieldname];
for (i=0; i < field_errorlist.length; i+= 1) { for (i=0; i < field_errorlist.length; i+= 1) {
field_error = field_errorlist[i]; field_error = field_errorlist[i];
error_msg = '<span class="field-name">' + field_label + ':</span>' + '<span class="field-error">' + field_error + '</span>'; error_msg = '<span class="field-name">' + field_label + ':</span>' + '<span class="field-error">' + field_error + '</span>';
...@@ -88,24 +88,24 @@ ...@@ -88,24 +88,24 @@
</script> </script>
</%block> </%block>
<section class="testcenter-register container"> <section class="testcenter-register container">
<section class="introduction"> <section class="introduction">
<header> <header>
<hgroup> <hgroup>
<h2><a href="${reverse('dashboard')}">${get_course_about_section(course, 'university')} ${course.number} ${course.title}</a></h2> <h2><a href="${reverse('dashboard')}">${get_course_about_section(course, 'university')} ${course.number} ${course.lms.display_name}</a></h2>
% if registration: % if registration:
<h1>Your Pearson VUE Proctored Exam Registration</h1> <h1>Your Pearson VUE Proctored Exam Registration</h1>
% else: % else:
<h1>Register for a Pearson VUE Proctored Exam</h1> <h1>Register for a Pearson VUE Proctored Exam</h1>
% endif % endif
</hgroup> </hgroup>
</header> </header>
</section> </section>
<% <%
exam_help_href = "mailto:exam-help@edx.org?subject=Pearson VUE Exam - " + get_course_about_section(course, 'university') + " - " + course.number exam_help_href = "mailto:exam-help@edx.org?subject=Pearson VUE Exam - " + get_course_about_section(course, 'university') + " - " + course.number
%> %>
% if registration: % if registration:
...@@ -118,14 +118,14 @@ ...@@ -118,14 +118,14 @@
</section> </section>
% endif % endif
% if registration.demographics_is_rejected: % if registration.demographics_is_rejected:
<section class="status message message-flash demographics-rejected message-action is-shown"> <section class="status message message-flash demographics-rejected message-action is-shown">
<h3 class="message-title">Your demographic information contained an error and was rejected</h3> <h3 class="message-title">Your demographic information contained an error and was rejected</h3>
<p class="message-copy">Please check the information you provided, and correct the errors noted below. <p class="message-copy">Please check the information you provided, and correct the errors noted below.
</section> </section>
% endif % endif
% if registration.registration_is_rejected: % if registration.registration_is_rejected:
<section class="status message message-flash registration-rejected message-action is-shown"> <section class="status message message-flash registration-rejected message-action is-shown">
<h3 class="message-title">Your registration for the Pearson exam has been rejected</h3> <h3 class="message-title">Your registration for the Pearson exam has been rejected</h3>
<p class="message-copy">Please see your <strong>registration status</strong> details for more information.</p> <p class="message-copy">Please see your <strong>registration status</strong> details for more information.</p>
...@@ -140,14 +140,14 @@ ...@@ -140,14 +140,14 @@
% endif % endif
% endif % endif
<section class="content"> <section class="content">
<header> <header>
<h3 class="is-hidden">Registration Form</h3> <h3 class="is-hidden">Registration Form</h3>
</header> </header>
% if exam_info.is_registering(): % if exam_info.is_registering():
<form id="testcenter_register_form" method="post" data-remote="true" action="/create_exam_registration"> <form id="testcenter_register_form" method="post" data-remote="true" action="/create_exam_registration">
% else: % else:
<form id="testcenter_register_form" method="post" data-remote="true" action="/create_exam_registration" class="disabled"> <form id="testcenter_register_form" method="post" data-remote="true" action="/create_exam_registration" class="disabled">
<!-- registration closed, so tell them they can't do anything: --> <!-- registration closed, so tell them they can't do anything: -->
<div class="status message registration-closed is-shown"> <div class="status message registration-closed is-shown">
...@@ -155,12 +155,12 @@ ...@@ -155,12 +155,12 @@
<p class="message-copy">Your previous information is available below, however you may not edit any of the information. <p class="message-copy">Your previous information is available below, however you may not edit any of the information.
</div> </div>
% endif % endif
% if registration: % if registration:
<p class="instructions"> <p class="instructions">
Please use the following form if you need to update your demographic information used in your Pearson VUE Proctored Exam. Required fields are noted by <strong class="indicator">bold text and an asterisk (*)</strong>. Please use the following form if you need to update your demographic information used in your Pearson VUE Proctored Exam. Required fields are noted by <strong class="indicator">bold text and an asterisk (*)</strong>.
</p> </p>
% else: % else:
<p class="instructions"> <p class="instructions">
Please provide the following demographic information to register for a Pearson VUE Proctored Exam. Required fields are noted by <strong class="indicator">bold text and an asterisk (*)</strong>. Please provide the following demographic information to register for a Pearson VUE Proctored Exam. Required fields are noted by <strong class="indicator">bold text and an asterisk (*)</strong>.
</p> </p>
...@@ -175,11 +175,11 @@ ...@@ -175,11 +175,11 @@
<div class="form-fields-primary"> <div class="form-fields-primary">
<fieldset class="group group-form group-form-personalinformation"> <fieldset class="group group-form group-form-personalinformation">
<legend class="is-hidden">Personal Information</legend> <legend class="is-hidden">Personal Information</legend>
<ol class="list-input"> <ol class="list-input">
<li class="field" id="field-salutation"> <li class="field" id="field-salutation">
<label for="salutation">Salutation</label> <label for="salutation">Salutation</label>
<input class="short" id="salutation" type="text" name="salutation" value="${testcenteruser.salutation}" placeholder="e.g. Mr., Ms., Mrs., Dr." /> <input class="short" id="salutation" type="text" name="salutation" value="${testcenteruser.salutation}" placeholder="e.g. Mr., Ms., Mrs., Dr." />
</li> </li>
<li class="field required" id="field-first_name"> <li class="field required" id="field-first_name">
<label for="first_name">First Name </label> <label for="first_name">First Name </label>
...@@ -199,14 +199,14 @@ ...@@ -199,14 +199,14 @@
</li> </li>
</ol> </ol>
</fieldset> </fieldset>
<fieldset class="group group-form group-form-mailingaddress"> <fieldset class="group group-form group-form-mailingaddress">
<legend class="is-hidden">Mailing Address</legend> <legend class="is-hidden">Mailing Address</legend>
<ol class="list-input"> <ol class="list-input">
<li class="field required" id="field-address_1"> <li class="field required" id="field-address_1">
<label class="long" for="address_1">Address Line #1</label> <label class="long" for="address_1">Address Line #1</label>
<input id="address_1" type="text" name="address_1" value="${testcenteruser.address_1}" placeholder="e.g. 112 Mercer Street" /> <input id="address_1" type="text" name="address_1" value="${testcenteruser.address_1}" placeholder="e.g. 112 Mercer Street" />
</li> </li>
<li class="field-group addresses"> <li class="field-group addresses">
<div class="field" id="field-address_2"> <div class="field" id="field-address_2">
...@@ -221,7 +221,7 @@ ...@@ -221,7 +221,7 @@
<li class="field required postal-1" id="field-city"> <li class="field required postal-1" id="field-city">
<label for="city">City</label> <label for="city">City</label>
<input id="city" class="long" type="text" name="city" value="${testcenteruser.city}" placeholder="e.g. Newark" /> <input id="city" class="long" type="text" name="city" value="${testcenteruser.city}" placeholder="e.g. Newark" />
</li> </li>
<li class="field-group postal-2"> <li class="field-group postal-2">
<div class="field" id="field-state"> <div class="field" id="field-state">
<label for="state">State/Province</label> <label for="state">State/Province</label>
...@@ -238,15 +238,15 @@ ...@@ -238,15 +238,15 @@
</li> </li>
</ol> </ol>
</fieldset> </fieldset>
<fieldset class="group group-form group-form-contactinformation"> <fieldset class="group group-form group-form-contactinformation">
<legend class="is-hidden">Contact &amp; Other Information</legend> <legend class="is-hidden">Contact &amp; Other Information</legend>
<ol class="list-input"> <ol class="list-input">
<li class="field-group phoneinfo"> <li class="field-group phoneinfo">
<div class="field required" id="field-phone"> <div class="field required" id="field-phone">
<label for="phone">Phone Number</label> <label for="phone">Phone Number</label>
<input id="phone" type="tel" name="phone" value="${testcenteruser.phone}" /> <input id="phone" type="tel" name="phone" value="${testcenteruser.phone}" />
</div> </div>
<div class="field" id="field-extension"> <div class="field" id="field-extension">
<label for="extension">Extension</label> <label for="extension">Extension</label>
...@@ -274,12 +274,12 @@ ...@@ -274,12 +274,12 @@
</ol> </ol>
</fieldset> </fieldset>
</div> </div>
% if registration: % if registration:
% if registration.accommodation_request and len(registration.accommodation_request) > 0: % if registration.accommodation_request and len(registration.accommodation_request) > 0:
<div class="form-fields-secondary is-shown disabled" id="form-fields-secondary"> <div class="form-fields-secondary is-shown disabled" id="form-fields-secondary">
% endif % endif
% else: % else:
<div class="form-fields-secondary" id="form-fields-secondary"> <div class="form-fields-secondary" id="form-fields-secondary">
% endif % endif
...@@ -287,13 +287,13 @@ ...@@ -287,13 +287,13 @@
% if registration.accommodation_request and len(registration.accommodation_request) > 0: % if registration.accommodation_request and len(registration.accommodation_request) > 0:
<p class="note"><span class="title">Note</span>: Your previous accommodation request below needs to be reviewed in detail <strong>and will add a significant delay to your registration process</strong>.</p> <p class="note"><span class="title">Note</span>: Your previous accommodation request below needs to be reviewed in detail <strong>and will add a significant delay to your registration process</strong>.</p>
% endif % endif
% else: % else:
<p class="note"><span class="title">Note</span>: Accommodation requests are not part of your demographic information, <strong>and cannot be changed once submitted</strong>. Accommodation requests, which are reviewed on a case-by-case basis, <strong>will add significant delay to the registration process</strong>.</p> <p class="note"><span class="title">Note</span>: Accommodation requests are not part of your demographic information, <strong>and cannot be changed once submitted</strong>. Accommodation requests, which are reviewed on a case-by-case basis, <strong>will add significant delay to the registration process</strong>.</p>
% endif % endif
<fieldset class="group group-form group-form-optional"> <fieldset class="group group-form group-form-optional">
<legend class="is-hidden">Optional Information</legend> <legend class="is-hidden">Optional Information</legend>
<ol class="list-input"> <ol class="list-input">
% if registration: % if registration:
% if registration.accommodation_request and len(registration.accommodation_request) > 0: % if registration.accommodation_request and len(registration.accommodation_request) > 0:
...@@ -302,21 +302,21 @@ ...@@ -302,21 +302,21 @@
<p class="value" id="accommodations">${registration.accommodation_request}</p> <p class="value" id="accommodations">${registration.accommodation_request}</p>
</li> </li>
% endif % endif
% else: % else:
<li class="field" id="field-accommodation_request"> <li class="field" id="field-accommodation_request">
<label for="accommodation_request">Accommodations Requested</label> <label for="accommodation_request">Accommodations Requested</label>
<textarea class="long" id="accommodation_request" name="accommodation_request" value="" placeholder=""></textarea> <textarea class="long" id="accommodation_request" name="accommodation_request" value="" placeholder=""></textarea>
</li> </li>
% endif % endif
</ol> </ol>
</fieldset> </fieldset>
</div> </div>
<div class="form-actions"> <div class="form-actions">
% if registration: % if registration:
<button type="submit" id="submit" class="action action-primary action-update">Update Demographics</button> <button type="submit" id="submit" class="action action-primary action-update">Update Demographics</button>
<a href="${reverse('dashboard')}" class="action action-secondary action-cancel">Cancel Update</a> <a href="${reverse('dashboard')}" class="action action-secondary action-cancel">Cancel Update</a>
% else: % else:
<button type="submit" id="submit" class="action action-primary action-register">Register for Pearson VUE Test</button> <button type="submit" id="submit" class="action action-primary action-register">Register for Pearson VUE Test</button>
<a href="${reverse('dashboard')}" class="action action-secondary action-cancel">Cancel Registration</a> <a href="${reverse('dashboard')}" class="action action-secondary action-cancel">Cancel Registration</a>
% endif % endif
...@@ -325,68 +325,68 @@ ...@@ -325,68 +325,68 @@
<p id="submission-error-heading" class="message-copy"></p> <p id="submission-error-heading" class="message-copy"></p>
<ul id="submission-error-list"></ul> <ul id="submission-error-list"></ul>
</div> </div>
</div> </div>
</form> </form>
% if registration: % if registration:
% if registration.accommodation_request and len(registration.accommodation_request) > 0: % if registration.accommodation_request and len(registration.accommodation_request) > 0:
<a class="actions form-fields-secondary-visibility is-hidden" href="#form-fields-secondary">Special (<abbr title="Americans with Disabilities Act">ADA</abbr>) Accommodations</a> <a class="actions form-fields-secondary-visibility is-hidden" href="#form-fields-secondary">Special (<abbr title="Americans with Disabilities Act">ADA</abbr>) Accommodations</a>
% endif % endif
% else: % else:
<a class="actions form-fields-secondary-visibility" href="#form-fields-secondary">Special (<abbr title="Americans with Disabilities Act">ADA</abbr>) Accommodations</a> <a class="actions form-fields-secondary-visibility" href="#form-fields-secondary">Special (<abbr title="Americans with Disabilities Act">ADA</abbr>) Accommodations</a>
% endif % endif
</section> </section>
<aside> <aside>
% if registration: % if registration:
% if registration.is_accepted: % if registration.is_accepted:
<div class="message message-status registration-processed is-shown"> <div class="message message-status registration-processed is-shown">
% endif % endif
% if registration.is_rejected: % if registration.is_rejected:
<div class="message message-status registration-rejected is-shown"> <div class="message message-status registration-rejected is-shown">
% endif % endif
% if registration.is_pending: % if registration.is_pending:
<div class="message message-status registration-pending is-shown"> <div class="message message-status registration-pending is-shown">
% endif % endif
<h3>Pearson Exam Registration Status</h3> <h3>Pearson Exam Registration Status</h3>
<ol class="status-list"> <ol class="status-list">
<!-- first provide status of demographics --> <!-- first provide status of demographics -->
% if registration.demographics_is_pending: % if registration.demographics_is_pending:
<li class="item status status-pending status-demographics"> <li class="item status status-pending status-demographics">
<h4 class="title">Demographic Information</h4> <h4 class="title">Demographic Information</h4>
<p class="details">The demographic information you most recently provided is pending. You may edit this information at any point before exam registration closes on <strong>${exam_info.registration_end_date_text}</strong></p> <p class="details">The demographic information you most recently provided is pending. You may edit this information at any point before exam registration closes on <strong>${exam_info.registration_end_date_text}</strong></p>
</li> </li>
% endif % endif
% if registration.demographics_is_accepted: % if registration.demographics_is_accepted:
<li class="item status status-processed status-demographics"> <li class="item status status-processed status-demographics">
<h4 class="title">Demographic Information</h4> <h4 class="title">Demographic Information</h4>
<p class="details">The demographic information you most recently provided has been processed. You may edit this information at any point before exam registration closes on <strong>${exam_info.registration_end_date_text}</strong></p> <p class="details">The demographic information you most recently provided has been processed. You may edit this information at any point before exam registration closes on <strong>${exam_info.registration_end_date_text}</strong></p>
</li> </li>
% endif % endif
% if registration.demographics_is_rejected: % if registration.demographics_is_rejected:
<li class="item status status-rejected status-demographics"> <li class="item status status-rejected status-demographics">
<h4 class="title">Demographic Information</h4> <h4 class="title">Demographic Information</h4>
<p class="details">The demographic information you most recently provided has been rejected by Pearson. You can correct and submit it again before the exam registration closes on <strong>${exam_info.registration_end_date_text}</strong>. <p class="details">The demographic information you most recently provided has been rejected by Pearson. You can correct and submit it again before the exam registration closes on <strong>${exam_info.registration_end_date_text}</strong>.
The error message is:</p> The error message is:</p>
<ul class="error-list"> <ul class="error-list">
<li class="item">${registration.testcenter_user.upload_error_message}.</li> <li class="item">${registration.testcenter_user.upload_error_message}.</li>
</ul> </ul>
<p class="action">If the error is not correctable by revising your demographic information, please <a class="contact-link" href="${exam_help_href}">contact edX at exam-help@edx.org</a>.</p> <p class="action">If the error is not correctable by revising your demographic information, please <a class="contact-link" href="${exam_help_href}">contact edX at exam-help@edx.org</a>.</p>
</li> </li>
% endif % endif
<!-- then provide status of accommodations, if any --> <!-- then provide status of accommodations, if any -->
% if registration.accommodation_is_pending: % if registration.accommodation_is_pending:
<li class="item status status-pending status-accommodations"> <li class="item status status-pending status-accommodations">
<h4 class="title">Accommodations Request</h4> <h4 class="title">Accommodations Request</h4>
<p class="details">Your requested accommodations are pending. Within a few days, you should see confirmation here of granted accommodations.</p> <p class="details">Your requested accommodations are pending. Within a few days, you should see confirmation here of granted accommodations.</p>
</li> </li>
% endif % endif
% if registration.accommodation_is_accepted: % if registration.accommodation_is_accepted:
<li class="item status status-processed status-accommodations"> <li class="item status status-processed status-accommodations">
<h4 class="title">Accommodations Request</h4> <h4 class="title">Accommodations Request</h4>
<p class="details">Your requested accommodations have been reviewed and processed. You are allowed:</p> <p class="details">Your requested accommodations have been reviewed and processed. You are allowed:</p>
...@@ -395,50 +395,50 @@ ...@@ -395,50 +395,50 @@
% for accommodation_name in registration.get_accommodation_names(): % for accommodation_name in registration.get_accommodation_names():
<li class="item">${accommodation_name}</li> <li class="item">${accommodation_name}</li>
% endfor % endfor
</ul> </ul>
</li> </li>
% endif % endif
% if registration.accommodation_is_rejected: % if registration.accommodation_is_rejected:
<li class="item status status-processed status-accommodations"> <li class="item status status-processed status-accommodations">
<h4 class="title">Accommodations Request</h4> <h4 class="title">Accommodations Request</h4>
<p class="details">Your requested accommodations have been reviewed and processed. You are allowed no accommodations.</p> <p class="details">Your requested accommodations have been reviewed and processed. You are allowed no accommodations.</p>
<p class="action">Please <a class="contact-link" href="${exam_help_href}">contact edX at exam-help@edx.org</a> if you have any questions.</p> <p class="action">Please <a class="contact-link" href="${exam_help_href}">contact edX at exam-help@edx.org</a> if you have any questions.</p>
</li> </li>
% endif % endif
<!-- finally provide status of registration --> <!-- finally provide status of registration -->
% if registration.registration_is_pending: % if registration.registration_is_pending:
<li class="item status status-pending status-registration"> <li class="item status status-pending status-registration">
<h4 class="title">Registration Request</h4> <h4 class="title">Registration Request</h4>
<p class="details">Your exam registration is pending. Once your information is processed, it will be forwarded to Pearson and you will be able to schedule an exam.</p> <p class="details">Your exam registration is pending. Once your information is processed, it will be forwarded to Pearson and you will be able to schedule an exam.</p>
</li> </li>
% endif % endif
% if registration.registration_is_accepted: % if registration.registration_is_accepted:
<li class="item status status-processed status-registration"> <li class="item status status-processed status-registration">
<h4 class="title">Registration Request</h4> <h4 class="title">Registration Request</h4>
<p class="details">Your exam registration has been processed and has been forwarded to Pearson. <strong>You are now able to <a href="${registration.registration_signup_url}" class="exam-link">schedule a Pearson exam</a></strong>.</p> <p class="details">Your exam registration has been processed and has been forwarded to Pearson. <strong>You are now able to <a href="${registration.registration_signup_url}" class="exam-link">schedule a Pearson exam</a></strong>.</p>
</li> </li>
% endif % endif
% if registration.registration_is_rejected: % if registration.registration_is_rejected:
<li class="item status status-rejected status-registration"> <li class="item status status-rejected status-registration">
<h4 class="title">Registration Request</h4> <h4 class="title">Registration Request</h4>
<p class="details">Your exam registration has been rejected by Pearson. <strong>You currently cannot schedule an exam</strong>. The errors found include:</p> <p class="details">Your exam registration has been rejected by Pearson. <strong>You currently cannot schedule an exam</strong>. The errors found include:</p>
<ul class="error-list"> <ul class="error-list">
<li class="item">${registration.upload_error_message}</li> <li class="item">${registration.upload_error_message}</li>
</ul> </ul>
<p class="action">Please <a class="contact-link" href="${exam_help_href}">contact edX at exam-help@edx.org</a>.</p> <p class="action">Please <a class="contact-link" href="${exam_help_href}">contact edX at exam-help@edx.org</a>.</p>
</li> </li>
% endif % endif
</ol> </ol>
</div> </div>
% endif % endif
<div class="details details-course"> <div class="details details-course">
<h4>About ${get_course_about_section(course, 'university')} ${course.number}</h4> <h4>About ${get_course_about_section(course, 'university')} ${course.number}</h4>
<p> <p>
...@@ -451,7 +451,7 @@ ...@@ -451,7 +451,7 @@
% endif % endif
</p> </p>
</div> </div>
<div class="details details-registration"> <div class="details details-registration">
<h4>Pearson VUE Test Details</h4> <h4>Pearson VUE Test Details</h4>
% if exam_info is not None: % if exam_info is not None:
...@@ -464,14 +464,14 @@ ...@@ -464,14 +464,14 @@
</li> </li>
<li> <li>
<span class="label">Last Eligible Appointment Date:</span> <span class="value">${exam_info.last_eligible_appointment_date_text}</span> <span class="label">Last Eligible Appointment Date:</span> <span class="value">${exam_info.last_eligible_appointment_date_text}</span>
</li> </li>
<li> <li>
<span class="label">Registration Ends:</span> <span class="value">${exam_info.registration_end_date_text}</span> <span class="label">Registration Ends:</span> <span class="value">${exam_info.registration_end_date_text}</span>
</li> </li>
</ul> </ul>
% endif % endif
</div> </div>
<div class="details details-contact"> <div class="details details-contact">
<h4>Questions</h4> <h4>Questions</h4>
<p>If you have a specific question pertaining to your registration, you may <a class="contact-link" href="${exam_help_href}">contact edX at exam-help@edx.org</a>.</p> <p>If you have a specific question pertaining to your registration, you may <a class="contact-link" href="${exam_help_href}">contact edX at exam-help@edx.org</a>.</p>
......
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