Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
3f8c2f55
Commit
3f8c2f55
authored
Sep 24, 2013
by
Adam Palay
Committed by
Julia Hansbrough
Oct 10, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
disable buttons for large courses on legacy and beta instr dash
set max enrollment for downloads to 200
parent
dba11a96
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
lms/templates/courseware/instructor_dashboard.html
+17
-0
No files found.
lms/templates/courseware/instructor_dashboard.html
View file @
3f8c2f55
...
...
@@ -201,7 +201,11 @@ function goto( mode)
<p>
<input
type=
"submit"
name=
"action"
value=
"Download CSV of answer distributions"
class=
"${'is-disabled' if disable_buttons else ''}"
>
<
<<<<<<
HEAD
<
input
type=
"submit"
name=
"action"
value=
"Dump description of graded assignments configuration"
>
=======
<input
type=
"submit"
name=
"action"
value=
"Dump description of graded assignments configuration"
class=
"${'is-disabled' if disable_buttons else ''}"
>
>>>>>>> disable buttons for large courses on legacy and beta instr dash
</p>
<hr
width=
"40%"
style=
"align:left"
>
...
...
@@ -398,6 +402,7 @@ function goto( mode)
<hr
width=
"40%"
style=
"align:left"
>
<h2>
${_("Enrollment Data")}
</h2>
% if disable_buttons:
<
<<<<<<
HEAD
<
div
class=
"msg msg-warning"
>
<div
class=
"copy"
>
...
...
@@ -412,6 +417,18 @@ function goto( mode)
</p>
</div>
</div>
=======
<p><font
color=
"red"
>
${_("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']
)}
</font></p>
<br>
>>>>>>> disable buttons for large courses on legacy and beta instr dash
% endif
<input
type=
"submit"
name=
"action"
value=
"List enrolled students"
class=
"${'is-disabled' if disable_buttons else ''}"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment