From c6bece862014db50dd38db58a9b9a6cbec2f60b6 Mon Sep 17 00:00:00 2001 From: Kevin Chugh Date: Fri, 8 Feb 2013 09:11:41 -0500 Subject: [PATCH] more updates --- .../django_comment_client/forum/views.py | 2 +- .../discussion/_inline_new_post.html | 20 ++++++++++++++++++- .../mustache/_inline_discussion.mustache | 1 + 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/lms/djangoapps/django_comment_client/forum/views.py b/lms/djangoapps/django_comment_client/forum/views.py index 371a26c167..8b0b2c9c2d 100644 --- a/lms/djangoapps/django_comment_client/forum/views.py +++ b/lms/djangoapps/django_comment_client/forum/views.py @@ -171,7 +171,7 @@ def inline_discussion(request, course_id, discussion_id): 'allow_anonymous_to_peers': allow_anonymous_to_peers, 'allow_anonymous': allow_anonymous, 'cohorts': cohorts_list, - 'is_cohorted': is_cohorted + 'is_cohorted': is_cohorted }) diff --git a/lms/templates/discussion/_inline_new_post.html b/lms/templates/discussion/_inline_new_post.html index 7af66c0cdd..a1b347f548 100644 --- a/lms/templates/discussion/_inline_new_post.html +++ b/lms/templates/discussion/_inline_new_post.html @@ -1,6 +1,6 @@
-
+
@@ -12,6 +12,24 @@ %elif course.metadata.get("allow_anonymous_to_peers", False): %endif + %if is_course_cohorted: +
+ Make visible to: + +
+ %endif
diff --git a/lms/templates/discussion/mustache/_inline_discussion.mustache b/lms/templates/discussion/mustache/_inline_discussion.mustache index 6c57fa9dfe..aa2f27062d 100644 --- a/lms/templates/discussion/mustache/_inline_discussion.mustache +++ b/lms/templates/discussion/mustache/_inline_discussion.mustache @@ -4,6 +4,7 @@
+ AAAAAAA