diff --git a/lms/templates/instructor/instructor_dashboard_2/student_admin.html b/lms/templates/instructor/instructor_dashboard_2/student_admin.html
index 1ff3e2727c..64c35a853f 100644
--- a/lms/templates/instructor/instructor_dashboard_2/student_admin.html
+++ b/lms/templates/instructor/instructor_dashboard_2/student_admin.html
@@ -30,16 +30,13 @@
- ${_('Specify a particular problem in the course here by its url:')}
-
+
${_('Specify a particular problem in the course here by its location:')}
+
- ${_('You may use just the "urlname" if a problem, or "modulename/urlname" if not. (For example, if the location is {location1}, then just provide the {urlname1}. If the location is {location2}, then provide {urlname2}.)').format(
- location1="i4x://university/course/problem/problemname",
- urlname1="problemname",
- location2="i4x://university/course/notaproblem/someothername",
- urlname2="notaproblem/someothername")
+ ${_("You should provide the full location of a problem. A location will look like this: {location}").format(
+ location="location:edX+Open_DemoX+problem+78c98390884243b89f6023745231c525")
}
@@ -81,15 +78,12 @@
- ${_("Specify a particular problem in the course here by its url:")}
-
+ ${_("Specify a particular problem in the course here by its location:")}
+
- ${_('You may use just the "urlname" if a problem, or "modulename/urlname" if not. (For example, if the location is {location1}, then just provide the {urlname1}. If the location is {location2}, then provide {urlname2}.)').format(
- location1="i4x://university/course/problem/problemname",
- urlname1="problemname",
- location2="i4x://university/course/notaproblem/someothername",
- urlname2="notaproblem/someothername")
+ ${_("You should provide the full location of a problem. A location will look like this: {location}").format(
+ location="location:edX+Open_DemoX+problem+78c98390884243b89f6023745231c525")
}
diff --git a/lms/templates/navigation.html b/lms/templates/navigation.html
index f54a897440..3f8a07347d 100644
--- a/lms/templates/navigation.html
+++ b/lms/templates/navigation.html
@@ -20,7 +20,7 @@ from status.status import get_site_status_msg
<%block cached="False">
<%
try:
- course_id = course.id
+ course_id = course.id.to_deprecated_string()
except:
# can't figure out a better way to get at a possibly-defined course var
course_id = None
@@ -104,7 +104,7 @@ site_status_msg = get_site_status_msg(course_id)
% if not settings.FEATURES['DISABLE_LOGIN_BUTTON']:
% if course and settings.FEATURES.get('RESTRICT_ENROLL_BY_REG_METHOD') and course.enrollment_domain:
% if not settings.FEATURES['DISABLE_LOGIN_BUTTON']:
% if course and settings.FEATURES.get('RESTRICT_ENROLL_BY_REG_METHOD') and course.enrollment_domain:
- ${_("Log in")}
+ ${_("Log in")}
% else:
${_("Log in")}
% endif
diff --git a/lms/templates/notes.html b/lms/templates/notes.html
index d896725581..0922bba174 100644
--- a/lms/templates/notes.html
+++ b/lms/templates/notes.html
@@ -59,140 +59,138 @@
-
${_('My Notes')}
-
+
${_('My Notes')}
+
- ${_('You do not have any notes.')}
+ ${_('You do not have any notes.')}
-
diff --git a/lms/templates/peer_grading/peer_grading.html b/lms/templates/peer_grading/peer_grading.html
index feff1248aa..4315a8a5d1 100644
--- a/lms/templates/peer_grading/peer_grading.html
+++ b/lms/templates/peer_grading/peer_grading.html
@@ -41,7 +41,7 @@ criteria.{end_li_tag}
%if problem['closed']:
${problem['problem_name']}
%else:
- ${problem['problem_name']}
+ ${problem['problem_name']}
%endif
diff --git a/lms/templates/shoppingcart/verified_cert_receipt.html b/lms/templates/shoppingcart/verified_cert_receipt.html
index 294651b0f5..aa9f8e220a 100644
--- a/lms/templates/shoppingcart/verified_cert_receipt.html
+++ b/lms/templates/shoppingcart/verified_cert_receipt.html
@@ -1,5 +1,4 @@
<%! from django.utils.translation import ugettext as _ %>
-<%! from django.core.urlresolvers import reverse %>
<%! from student.views import course_from_id %>
<%inherit file="../main.html" />
@@ -113,7 +112,7 @@
|
%if course_has_started:
- ${_("Go to Course")}
+ ${_("Go to Course")}
%else:
%endif
|
@@ -123,7 +122,7 @@
|
- ${_("Go to your Dashboard")}
+ ${_("Go to your Dashboard")}
|
diff --git a/lms/templates/sysadmin_dashboard_gitlogs.html b/lms/templates/sysadmin_dashboard_gitlogs.html
index d7709c675d..5c2b72f051 100644
--- a/lms/templates/sysadmin_dashboard_gitlogs.html
+++ b/lms/templates/sysadmin_dashboard_gitlogs.html
@@ -76,9 +76,10 @@ textarea {
%for cil in cilset[:10]:
+ <% course_id_string = cil.course_id.to_deprecated_string() if cil.course_id else None %>
| ${cil.created} |
- ${cil.course_id} |
+ ${course_id_string} |
${cil.git_log} |
%endfor
@@ -103,9 +104,10 @@ textarea {
% for cil in cilset[:2]:
+ <% course_id_string = cil.course_id.to_deprecated_string() if cil.course_id else None %>
| ${cil.created} |
- ${cil.course_id} |
+ ${course_id_string} |
${cil.git_log} |
diff --git a/lms/templates/verify_student/_verification_support.html b/lms/templates/verify_student/_verification_support.html
index a4d2196958..b7263603ae 100644
--- a/lms/templates/verify_student/_verification_support.html
+++ b/lms/templates/verify_student/_verification_support.html
@@ -19,7 +19,7 @@
%else:
${_("Change your mind?")}
-
${_("You can always {a_start} audit the course for free {a_end} without verifying.").format(a_start='', a_end="")}
+
${_("You can always {a_start} audit the course for free {a_end} without verifying.").format(a_start=''.format(course_modes_choose_url), a_end="")}
%endif
@@ -27,7 +27,7 @@
${_("Technical Requirements")}
-
${_("Please make sure your browser is updated to the {a_start}most recent version possible{a_end}. Also, please make sure your web cam is plugged in, turned on, and allowed to function in your web browser (commonly adjustable in your browser settings).").format(a_start='', a_end="")}
+
${_("Please make sure your browser is updated to the {a_start}most recent version possible{a_end}. Also, please make sure your web cam is plugged in, turned on, and allowed to function in your web browser (commonly adjustable in your browser settings).").format(a_start='', a_end="")}
diff --git a/lms/templates/verify_student/midcourse_reverify_dash.html b/lms/templates/verify_student/midcourse_reverify_dash.html
index 3bed7ef7d3..9c0b0aae10 100644
--- a/lms/templates/verify_student/midcourse_reverify_dash.html
+++ b/lms/templates/verify_student/midcourse_reverify_dash.html
@@ -25,7 +25,9 @@
${item.course_name} (${item.course_number})
${_('Re-verify by {date}').format(date="" + item.date + "")}
- Re-verify for ${item.course_number}
+
+ ${_("Re-verify for {course_number}").format(course_number=item.course_number)}
+
% endfor
@@ -42,7 +44,9 @@
${item.course_name} (${item.course_number})
${_('Re-verify by {date}').format(date="" + item.date + "")}
- Re-verify for ${item.course_number}
+
+ ${_("Re-verify for {course_number}").format(course_number=item.course_number)}
+
% endfor
diff --git a/lms/templates/verify_student/photo_verification.html b/lms/templates/verify_student/photo_verification.html
index f683ff905f..17170d04ef 100644
--- a/lms/templates/verify_student/photo_verification.html
+++ b/lms/templates/verify_student/photo_verification.html
@@ -27,7 +27,7 @@
${_("No Webcam Detected")}
-
${_("You don't seem to have a webcam connected. Double-check that your webcam is connected and working to continue registering, or select to {a_start} audit the course for free {a_end} without verifying.").format(a_start='', a_end="")}
+
${_("You don't seem to have a webcam connected. Double-check that your webcam is connected and working to continue registering, or select to {a_start} audit the course for free {a_end} without verifying.").format(a_start=''.format(course_modes_choose_url), a_end="")}
@@ -182,7 +182,7 @@
%if upgrade:
${_("You can always continue to audit the course without verifying.")}
%else:
- ${_("You can always {a_start} audit the course for free {a_end} without verifying.").format(a_start='', a_end="")}
+ ${_("You can always {a_start} audit the course for free {a_end} without verifying.").format(a_start=''.format(course_modes_choose_url), a_end="")}
%endif
diff --git a/lms/templates/verify_student/show_requirements.html b/lms/templates/verify_student/show_requirements.html
index 8660db36aa..7b8caf70c2 100644
--- a/lms/templates/verify_student/show_requirements.html
+++ b/lms/templates/verify_student/show_requirements.html
@@ -168,12 +168,12 @@
%if upgrade:
${_("Missing something? You can always continue to audit this course instead.")}
%else:
- ${_("Missing something? You can always {a_start}audit this course instead{a_end}").format(a_start='', a_end="")}
+ ${_("Missing something? You can always {a_start}audit this course instead{a_end}").format(a_start=''.format(course_modes_choose_url), a_end="")}
%endif
-
- ${_("Go to Step 1: Take my Photo")}
+ ${_("Go to Step 1: Take my Photo")}
diff --git a/lms/templates/verify_student/verified.html b/lms/templates/verify_student/verified.html
index 965fe498f1..cb61684493 100644
--- a/lms/templates/verify_student/verified.html
+++ b/lms/templates/verify_student/verified.html
@@ -12,7 +12,7 @@
var submitToPaymentProcessing = function(event) {
event.preventDefault();
var xhr = $.post(
- "/verify_student/create_order",
+ "${create_order_url}",
{
"course_id" : "${course_id}",
},