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
8e9dd900
Commit
8e9dd900
authored
Jun 07, 2017
by
cahrens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Generalize "cohorts" and remove unused imports.
parent
cb894703
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
11 deletions
+9
-11
lms/templates/instructor/instructor_dashboard_2/membership.html
+9
-11
No files found.
lms/templates/instructor/instructor_dashboard_2/membership.html
View file @
8e9dd900
...
@@ -2,8 +2,6 @@
...
@@ -2,8 +2,6 @@
<
%
page
args=
"section_data"
/>
<
%
page
args=
"section_data"
/>
<
%!
<
%!
from
django
.
utils
.
translation
import
ugettext
as
_
from
django
.
utils
.
translation
import
ugettext
as
_
from
courseware
.
courses
import
get_studio_url
from
openedx
.
core
.
djangoapps
.
course_groups
.
partition_scheme
import
get_cohorted_user_partition
%
>
%
>
<script
type=
"text/template"
id=
"member-list-widget-template"
>
<script
type=
"text/template"
id=
"member-list-widget-template"
>
<
div
class
=
"member-list-widget"
>
<
div
class
=
"member-list-widget"
>
...
@@ -224,10 +222,10 @@ from openedx.core.djangoapps.course_groups.partition_scheme import get_cohorted_
...
@@ -224,10 +222,10 @@ from openedx.core.djangoapps.course_groups.partition_scheme import get_cohorted_
data-display-name=
"${_("
Discussion
Admins
")}"
data-display-name=
"${_("
Discussion
Admins
")}"
data-info-text=
"
data-info-text=
"
${_("
Discussion
Admins
can
edit
or
delete
any
post
,
clear
misuse
flags
,
close
"
${_("
Discussion
Admins
can
edit
or
delete
any
post
,
clear
misuse
flags
,
close
"
"
and
re-open
threads
,
endorse
responses
,
and
see
posts
from
all
cohort
s
.
"
"
and
re-open
threads
,
endorse
responses
,
and
see
posts
from
all
group
s
.
"
"
Their
posts
are
marked
as
'
staff
'.
They
can
also
add
and
remove
the
"
"
Their
posts
are
marked
as
'
staff
'.
They
can
also
add
and
remove
the
"
"
discussion
moderation
roles
to
manage
course
team
membership
.
You
can
"
"
discussion
moderation
roles
to
manage
course
team
membership
.
Only
"
"
only
give
course
team
roles
to
enrolled
user
s
.")}"
"
enrolled
users
can
be
added
as
Discussion
Admin
s
.")}"
data-list-endpoint=
"${ section_data['list_forum_members_url'] }"
data-list-endpoint=
"${ section_data['list_forum_members_url'] }"
data-modify-endpoint=
"${ section_data['update_forum_role_membership_url'] }"
data-modify-endpoint=
"${ section_data['update_forum_role_membership_url'] }"
data-add-button-label=
"${_("
Add
Discussion
Admin
")}"
data-add-button-label=
"${_("
Add
Discussion
Admin
")}"
...
@@ -240,10 +238,10 @@ from openedx.core.djangoapps.course_groups.partition_scheme import get_cohorted_
...
@@ -240,10 +238,10 @@ from openedx.core.djangoapps.course_groups.partition_scheme import get_cohorted_
data-display-name=
"${_("
Discussion
Moderators
")}"
data-display-name=
"${_("
Discussion
Moderators
")}"
data-info-text=
"
data-info-text=
"
${_("
Discussion
Moderators
can
edit
or
delete
any
post
,
clear
misuse
flags
,
close
"
${_("
Discussion
Moderators
can
edit
or
delete
any
post
,
clear
misuse
flags
,
close
"
"
and
re-open
threads
,
endorse
responses
,
and
see
posts
from
all
cohort
s
.
"
"
and
re-open
threads
,
endorse
responses
,
and
see
posts
from
all
group
s
.
"
"
Their
posts
are
marked
as
'
staff
'.
They
cannot
manage
course
team
membership
by
"
"
Their
posts
are
marked
as
'
staff
'.
They
cannot
manage
course
team
membership
by
"
"
adding
or
removing
discussion
moderation
roles
.
You
can
only
give
course
team
"
"
adding
or
removing
discussion
moderation
roles
.
Only
enrolled
users
can
be
"
"
roles
to
enrolled
use
rs
.")}"
"
added
as
Discussion
Moderato
rs
.")}"
data-list-endpoint=
"${ section_data['list_forum_members_url'] }"
data-list-endpoint=
"${ section_data['list_forum_members_url'] }"
data-modify-endpoint=
"${ section_data['update_forum_role_membership_url'] }"
data-modify-endpoint=
"${ section_data['update_forum_role_membership_url'] }"
data-add-button-label=
"${_("
Add
Moderator
")}"
data-add-button-label=
"${_("
Add
Moderator
")}"
...
@@ -253,11 +251,11 @@ from openedx.core.djangoapps.course_groups.partition_scheme import get_cohorted_
...
@@ -253,11 +251,11 @@ from openedx.core.djangoapps.course_groups.partition_scheme import get_cohorted_
data-rolename=
"Community TA"
data-rolename=
"Community TA"
data-display-name=
"${_("
Discussion
Community
TAs
")}"
data-display-name=
"${_("
Discussion
Community
TAs
")}"
data-info-text=
"
data-info-text=
"
${_("
Community
TA
'
s
are
members
of
the
community
whom
you
deem
particularly
"
${_("
Community
TAs
are
members
of
the
community
whom
you
deem
particularly
"
"
helpful
on
the
discussion
boards
.
They
can
edit
or
delete
any
post
,
clear
"
"
helpful
on
the
discussion
boards
.
They
can
edit
or
delete
any
post
,
clear
"
"
misuse
flags
,
close
and
re-open
threads
,
endorse
responses
,
and
see
posts
from
"
"
misuse
flags
,
close
and
re-open
threads
,
endorse
responses
,
and
see
posts
from
"
"
all
cohorts
.
Their
posts
are
marked
as
'
Community
TA
'.
You
can
only
give
course
"
"
all
groups
.
Their
posts
are
marked
as
'
Community
TA
'.
Only
enrolled
users
can
"
"
team
roles
to
enrolled
user
s
.")}"
"
be
added
as
Community
TA
s
.")}"
data-list-endpoint=
"${ section_data['list_forum_members_url'] }"
data-list-endpoint=
"${ section_data['list_forum_members_url'] }"
data-modify-endpoint=
"${ section_data['update_forum_role_membership_url'] }"
data-modify-endpoint=
"${ section_data['update_forum_role_membership_url'] }"
data-add-button-label=
"${_("
Add
Community
TA
")}"
data-add-button-label=
"${_("
Add
Community
TA
")}"
...
...
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