diff --git a/cms/templates/component.html b/cms/templates/component.html index 07ab92c59235..cd8da36d00da 100644 --- a/cms/templates/component.html +++ b/cms/templates/component.html @@ -31,6 +31,6 @@ ${_("Edit")} ${_("Delete")} - + ${preview} diff --git a/cms/templates/import.html b/cms/templates/import.html index 51ee1ef83929..0c8f947dcec6 100644 --- a/cms/templates/import.html +++ b/cms/templates/import.html @@ -163,10 +163,10 @@

${_("Warning: Importing while a course is running")}

var feedbackUrl = "${import_status_url}"; var defaults = [ - '${_("There was an error during the upload process.")}\n', - '${_("There was an error while unpacking the file.")}\n', - '${_("There was an error while verifying the file you submitted.")}\n', - '${_("There was an error while importing the new course to our database.")}\n' + "${_("There was an error during the upload process.")}\n", + "${_("There was an error while unpacking the file.")}\n", + "${_("There was an error while verifying the file you submitted.")}\n", + "${_("There was an error while importing the new course to our database.")}\n" ]; $('#fileupload').fileupload({ @@ -201,12 +201,12 @@

${_("Warning: Importing while a course is running")}

CourseImport.stageError(stage, defaults[stage] + errMsg); } else { - alert('${_("Your import has failed.")}\n\n' + errMsg); + alert("${_("Your import has failed.")}\n\n" + errMsg); } - chooseBtn.html('${_("Choose new file")}').show(); + chooseBtn.html("${_("Choose new file")}").show(); bar.hide(); } - chooseBtn.html('${_("Choose new file")}').show(); + chooseBtn.html("${_("Choose new file")}").show(); bar.hide(); }); }); @@ -243,7 +243,7 @@

${_("Warning: Importing while a course is running")}

}, start: function(e) { window.onbeforeunload = function() { - return '${_("Your import is in progress; navigating away will abort it.")}'; + return "${_("Your import is in progress; navigating away will abort it.")}"; } }, sequentialUploads: true, diff --git a/cms/templates/widgets/problem-edit.html b/cms/templates/widgets/problem-edit.html index 2d23a6f44185..e5942828dea6 100644 --- a/cms/templates/widgets/problem-edit.html +++ b/cms/templates/widgets/problem-edit.html @@ -7,24 +7,24 @@ %if enable_markdown:
diff --git a/cms/templates/widgets/sock.html b/cms/templates/widgets/sock.html index 963e55ae434c..4ab954c363eb 100644 --- a/cms/templates/widgets/sock.html +++ b/cms/templates/widgets/sock.html @@ -22,7 +22,7 @@

${_("Studio Support")}