Only show cohort config for cohorted courses

This commit is contained in:
Victor Shnayder
2013-01-24 11:15:14 -05:00
parent 3bfe9decf4
commit 5fa8cf5a78
2 changed files with 3 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
<section class="cohort_manager" data-ajax_url="${cohorts_ajax_url}">
<h3>Cohort groups</h3>
<div class="controls">
<div class="controls" style="padding-top:15px">
<a href="#" class="button show_cohorts">Show cohorts</a>
</div>

View File

@@ -285,7 +285,9 @@ function goto( mode)
</p>
<hr width="40%" style="align:left">
%if course.is_cohorted:
<%include file="/course_groups/cohort_management.html" />
%endif
%endif
%endif