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
5aeb412b
Commit
5aeb412b
authored
Nov 20, 2014
by
Sarina Canelake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove deprecated cohorts management on legacy dashboard
parent
762b0d9b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 additions
and
62 deletions
+1
-62
lms/djangoapps/instructor/views/legacy.py
+0
-1
lms/templates/course_groups/cohort_management.html
+0
-42
lms/templates/course_groups/debug.html
+0
-18
lms/templates/courseware/legacy_instructor_dashboard.html
+1
-1
No files found.
lms/djangoapps/instructor/views/legacy.py
View file @
5aeb412b
...
...
@@ -541,7 +541,6 @@ def instructor_dashboard(request, course_id):
'course_errors'
:
modulestore
()
.
get_course_errors
(
course
.
id
),
'instructor_tasks'
:
instructor_tasks
,
'offline_grade_log'
:
offline_grades_available
(
course_key
),
'cohorts_ajax_url'
:
reverse
(
'cohorts'
,
kwargs
=
{
'course_key_string'
:
course_key
.
to_deprecated_string
()}),
'analytics_results'
:
analytics_results
,
'disable_buttons'
:
disable_buttons
,
...
...
lms/templates/course_groups/cohort_management.html
deleted
100644 → 0
View file @
762b0d9b
<
%!
from
django
.
utils
.
translation
import
ugettext
as
_
%
>
<section
class=
"cohort_manager"
data-ajax_url=
"${cohorts_ajax_url}"
>
<h3>
${_("Cohort groups")}
</h3>
<div
class=
"controls"
style=
"padding-top:15px"
>
<a
href=
"#"
class=
"button show_cohorts"
>
${_("Show cohorts")}
</a>
</div>
<ul
class=
"errors"
>
</ul>
<div
class=
"summary"
style=
"display:none"
>
<h3>
${_("Cohorts in the course")}
</h3>
<ul
class=
"cohorts"
>
</ul>
<p>
<input
class=
"cohort_name"
/>
<a
href=
"#"
class=
"button add_cohort"
>
${_("Add cohort")}
</a>
</p>
</div>
<div
class=
"detail"
style=
"display:none"
>
<h3
class=
"header"
></h3>
<table
class=
"users"
>
</table>
<span
class=
"page_num"
></span>
<p>
${_("Add users by username or email. One per line or comma-separated.")}
</p>
<textarea
cols=
"50"
row=
"30"
class=
"users_area"
style=
"height: 200px"
></textarea>
<a
href=
"#"
class=
"button add_members"
>
${_("Add cohort members")}
</a>
<ul
class=
"op_results"
>
</ul>
</div>
</section>
lms/templates/course_groups/debug.html
deleted
100644 → 0
View file @
762b0d9b
<!DOCTYPE html>
<
%!
from
django
.
utils
.
translation
import
ugettext
as
_
%
>
<html
lang=
"${LANGUAGE_CODE}"
>
<head>
## "edX" should not be translated
<
%
block
name=
"pagetitle"
></
%
block>
<script
type=
"text/javascript"
src=
"/static/js/vendor/jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"/static/js/course_groups/cohorts.js"
></script>
</head>
<body
class=
"<%block name='bodyclass'/>"
>
<
%
include
file=
"/course_groups/cohort_management.html"
/>
</body>
</html>
lms/templates/courseware/legacy_instructor_dashboard.html
View file @
5aeb412b
...
...
@@ -389,7 +389,7 @@ function goto( mode)
<p
class=
"deprecated"
>
${_("To manage beta tester roles, please visit the 'Membership' section of the instructor dashboard.")}
</p>
%if course.is_cohorted:
<
%
include
file=
"/course_groups/cohort_management.html"
/
>
<
p
class=
"deprecated"
>
${_("To manage course cohorts, please visit the 'Membership' section of the instructor dashboard.")}
</p
>
%endif
%endif
...
...
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