From 5fa8cf5a788a424f6614a22d568e90f02269dc90 Mon Sep 17 00:00:00 2001 From: Victor Shnayder Date: Thu, 24 Jan 2013 11:15:14 -0500 Subject: [PATCH] Only show cohort config for cohorted courses --- lms/templates/course_groups/cohort_management.html | 2 +- lms/templates/courseware/instructor_dashboard.html | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lms/templates/course_groups/cohort_management.html b/lms/templates/course_groups/cohort_management.html index 579d6fa48d..239863beeb 100644 --- a/lms/templates/course_groups/cohort_management.html +++ b/lms/templates/course_groups/cohort_management.html @@ -1,7 +1,7 @@

Cohort groups

-
+ diff --git a/lms/templates/courseware/instructor_dashboard.html b/lms/templates/courseware/instructor_dashboard.html index e9b9ae0354..7b177c6b6c 100644 --- a/lms/templates/courseware/instructor_dashboard.html +++ b/lms/templates/courseware/instructor_dashboard.html @@ -285,7 +285,9 @@ function goto( mode)


+ %if course.is_cohorted: <%include file="/course_groups/cohort_management.html" /> + %endif %endif %endif