<spanclass="tip"><spanclass="sr">Tip: </span>${_("Use this ID when you create links to this unit from other course content. You enter the ID in the URL field.")}</span>
<spanclass="tip"><spanclass="sr">Tip: </span>${_("Use this ID when you create links to this unit from other course content. You enter the ID in the URL field.")}</span>
<inputclass="rerun-course-org"id="rerun-course-org"type="text"name="rerun-course-org"aria-required="true"value="${source_course_key.org}"placeholder="${_('e.g. UniversityX or OrganizationX')}"/>
<inputclass="rerun-course-org"id="rerun-course-org"type="text"name="rerun-course-org"aria-required="true"value="${source_course_key.org | h}"placeholder="${_('e.g. UniversityX or OrganizationX')}"/>
<spanclass="tip">
<spanclass="tip">
${_("The name of the organization sponsoring the new course. (This name is often the same as the original organization name.)")}
${_("The name of the organization sponsoring the new course. (This name is often the same as the original organization name.)")}
<strongclass="tip-note"class="tip-note">${_("Note: No spaces or special characters are allowed.")}</strong>
<strongclass="tip-note"class="tip-note">${_("Note: No spaces or special characters are allowed.")}</strong>
@@ -73,7 +73,7 @@ from contentstore.utils import reverse_usage_url
...
@@ -73,7 +73,7 @@ from contentstore.utils import reverse_usage_url
<h3class="sr">${_("Page Actions")}</h3>
<h3class="sr">${_("Page Actions")}</h3>
<ul>
<ul>
<liclass="nav-item">
<liclass="nav-item">
<ahref="#"class="button button-new"data-category="chapter"data-parent="${context_course.location}"data-default-name="${_('Section')}"title="${_('Click to add a new section')}">
<ahref="#"class="button button-new"data-category="chapter"data-parent="${context_course.location | h}"data-default-name="${_('Section')}"title="${_('Click to add a new section')}">
<iclass="icon-plus"></i>${_('New Section')}
<iclass="icon-plus"></i>${_('New Section')}
</a>
</a>
</li>
</li>
...
@@ -116,7 +116,7 @@ from contentstore.utils import reverse_usage_url
...
@@ -116,7 +116,7 @@ from contentstore.utils import reverse_usage_url
@@ -139,7 +139,7 @@ from contentstore.utils import reverse_usage_url
...
@@ -139,7 +139,7 @@ from contentstore.utils import reverse_usage_url
<divclass="bit external-help">
<divclass="bit external-help">
<ahref="${get_online_help_info(online_help_token())['doc_url']}"target="_blank"class="button external-help-button">${_("Learn more about the course outline")}</a>
<ahref="${get_online_help_info(online_help_token())['doc_url']}"target="_blank"class="button external-help-button">${_("Learn more about the course outline")}</a>
<spanclass="copy"id="upgrade-to-verified"data-course-id="${course.id.to_deprecated_string()}"data-user="${user.username}">${_("Upgrade to Verified Track")}</span>
<spanclass="copy"id="upgrade-to-verified"data-course-id="${course.id | h}"data-user="${user.username | h}">${_("Upgrade to Verified Track")}</span>
</span>
</span>
</a>
</a>
</li>
</li>
...
@@ -130,7 +130,7 @@
...
@@ -130,7 +130,7 @@
% if is_course_blocked:
% if is_course_blocked:
<pid="block-course-msg"class="course-block">
<pid="block-course-msg"class="course-block">
${_('You can no longer access this course because payment has not yet been received. you can <ahref="#">contact the account holder</a> to request payment, or you can')}
${_('You can no longer access this course because payment has not yet been received. you can <ahref="#">contact the account holder</a> to request payment, or you can')}
<ahref="#email-settings-modal"class="email-settings"rel="leanModal"data-course-id="${course.id.to_deprecated_string()}"data-course-number="${course.number}"data-optout="${course.id.to_deprecated_string() in course_optouts}">${_('Email Settings')}</a>
<ahref="#email-settings-modal"class="email-settings"rel="leanModal"data-course-id="${course.id | h}"data-course-number="${course.number | h}"data-optout="${unicode(course.id) in course_optouts}">${_('Email Settings')}</a>
% else:
% else:
<aclass="disable-look-settings"data-course-id="${course.id.to_deprecated_string()}"data-course-number="${course.number}"data-optout="${course.id.to_deprecated_string() in course_optouts}">${_('Email Settings')}</a>
<aclass="disable-look-settings"data-course-id="${course.id| h}"data-course-number="${course.number | h}"data-optout="${unicode(course.id) in course_optouts}">${_('Email Settings')}</a>
<inputtype="button"value="Cancel"onclick="javascript:location=location"/><inputtype="submit"value="{% if cert %}Refund{% else %}Confirm{% endif %}"/>
<inputtype="button"value="Cancel"onclick="javascript:location=location"/><inputtype="submit"value="{% if cert %}Refund{% else %}Confirm{% endif %}"/>
</p>
</p>
</form>
</form>
{% if cert %}
{% if cert %}
...
@@ -49,7 +49,7 @@ strong {
...
@@ -49,7 +49,7 @@ strong {
<strong>{% trans "Order Id:" %}</strong> {{cert.order.id}}
<strong>{% trans "Order Id:" %}</strong> {{cert.order.id}}
</p>
</p>
<p>
<p>
<strong>{% trans "Enrollment:" %}</strong> {{enrollment.course_id}} {{enrollment.mode}} ({% if enrollment.is_active %}{% trans "enrolled" %}{% else %}{% trans "unenrolled" %}{% endif %})
<strong>{% trans "Enrollment:" %}</strong> {{enrollment.course_id|escape}} {{enrollment.mode}} ({% if enrollment.is_active %}{% trans "enrolled" %}{% else %}{% trans "unenrolled" %}{% endif %})
</p>
</p>
<p>
<p>
<strong>{% trans "Cost:" %}</strong> {{cert.unit_cost}} {{cert.currency}}
<strong>{% trans "Cost:" %}</strong> {{cert.unit_cost}} {{cert.currency}}