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
a98c924d
Commit
a98c924d
authored
Jan 29, 2013
by
David Ormsbee
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1371 from MITx/victor/cohorts-tweaks
make links look like links
parents
0a1f5bc1
39a9c475
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
common/static/js/course_groups/cohorts.js
+2
-1
lms/djangoapps/django_comment_client/forum/views.py
+1
-1
No files found.
common/static/js/course_groups/cohorts.js
View file @
a98c924d
...
@@ -83,10 +83,11 @@ var CohortManager = (function ($) {
...
@@ -83,10 +83,11 @@ var CohortManager = (function ($) {
cohort_id
=
el
.
data
(
'id'
);
cohort_id
=
el
.
data
(
'id'
);
state
=
state_detail
;
state
=
state_detail
;
render
();
render
();
return
false
;
}
}
function
add_to_cohorts_list
(
item
)
{
function
add_to_cohorts_list
(
item
)
{
var
li
=
$
(
'<li><a></a></li>'
);
var
li
=
$
(
'<li><a
href="#"
></a></li>'
);
$
(
"a"
,
li
).
text
(
item
.
name
)
$
(
"a"
,
li
).
text
(
item
.
name
)
.
data
(
'href'
,
url
+
'/'
+
item
.
id
)
.
data
(
'href'
,
url
+
'/'
+
item
.
id
)
.
addClass
(
'link'
)
.
addClass
(
'link'
)
...
...
lms/djangoapps/django_comment_client/forum/views.py
View file @
a98c924d
...
@@ -61,7 +61,7 @@ def get_threads(request, course_id, discussion_id=None, per_page=THREADS_PER_PAG
...
@@ -61,7 +61,7 @@ def get_threads(request, course_id, discussion_id=None, per_page=THREADS_PER_PAG
#if the course-user is cohorted, then add the group id
#if the course-user is cohorted, then add the group id
group_id
=
get_cohort_id
(
user
,
course_id
)
group_id
=
get_cohort_id
(
user
,
course_id
)
if
group_id
:
if
group_id
:
default_query_params
[
"group_id"
]
=
group_id
default_query_params
[
"group_id"
]
=
group_id
...
...
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