From 3f8c2f55f56a333c100b02a26e7e65c4dec0c42d Mon Sep 17 00:00:00 2001 From: Adam Palay Date: Tue, 24 Sep 2013 17:21:27 -0400 Subject: [PATCH] disable buttons for large courses on legacy and beta instr dash set max enrollment for downloads to 200 --- .../courseware/instructor_dashboard.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/lms/templates/courseware/instructor_dashboard.html b/lms/templates/courseware/instructor_dashboard.html index 9fdea3dae8..3b692c08d3 100644 --- a/lms/templates/courseware/instructor_dashboard.html +++ b/lms/templates/courseware/instructor_dashboard.html @@ -201,7 +201,11 @@ function goto( mode)

+<<<<<<< HEAD +======= + +>>>>>>> disable buttons for large courses on legacy and beta instr dash


@@ -398,6 +402,7 @@ function goto( mode)

${_("Enrollment Data")}

% if disable_buttons: +<<<<<<< HEAD
@@ -412,6 +417,18 @@ function goto( mode)

+======= +

+ ${_("Note: some of these buttons are known to time out for larger " + "courses. We have temporarily disabled those features for courses " + "with more than {max_enrollment} students. We are urgently working on " + "fixing this issue. Thank you for your patience as we continue " + "working to improve the platform!").format( + max_enrollment=settings.MITX_FEATURES['MAX_ENROLLMENT_INSTR_BUTTONS'] + )} +

+
+>>>>>>> disable buttons for large courses on legacy and beta instr dash % endif