From 8f8d70aeae847fd5b20ed9a974d502285a4da510 Mon Sep 17 00:00:00 2001
From: Miles Steele <msteele@edx.org>
Date: Fri, 9 Aug 2013 13:23:57 -0400
Subject: [PATCH] fix enroll multiple button, fix module_error report

---
 lms/templates/courseware/instructor_dashboard.html | 2 +-
 lms/templates/module-error.html                    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lms/templates/courseware/instructor_dashboard.html b/lms/templates/courseware/instructor_dashboard.html
index 3b6c4cb7380..5b254fc86e5 100644
--- a/lms/templates/courseware/instructor_dashboard.html
+++ b/lms/templates/courseware/instructor_dashboard.html
@@ -385,7 +385,7 @@ function goto( mode)
   <input type="checkbox" name="email_students"> ${_("Notify students by email")}
   <p>
   <input type="checkbox" name="auto_enroll"> ${_("Auto-enroll students when they activate")}
-  <input type="submit" name="action" value="$_("Enroll multiple students")}">
+  <input type="submit" name="action" value="${_("Enroll multiple students")}">
   <p>
   <input type="submit" name="action" value="${_("Unenroll multiple students")}">
 
diff --git a/lms/templates/module-error.html b/lms/templates/module-error.html
index b0641ea5c4f..f43db37dfca 100644
--- a/lms/templates/module-error.html
+++ b/lms/templates/module-error.html
@@ -1,7 +1,7 @@
 <%! from django.utils.translation import ugettext as _ %>
 
 <section class="outside-app">
-  <h1>${_("There has been an error on the <em>{platform_name}</em> servers")}</h1>
+  <h1>${_("There has been an error on the <em>{platform_name}</em> servers").format(platform_name=settings.PLATFORM_NAME)}</h1>
   <p>${_("We're sorry, this module is temporarily unavailable. Our staff is working to fix it as soon as possible. Please email us at <a href=\"mailto:{tech_support_email}\">{tech_support_email}</a> to report any problems or downtime.").format(platform_name=settings.PLATFORM_NAME, tech_support_email=settings.TECH_SUPPORT_EMAIL)}</p>
 
 % if staff_access:
-- 
GitLab