Commit 5fa8cf5a by Victor Shnayder

Only show cohort config for cohorted courses

parent 3bfe9dec
<section class="cohort_manager" data-ajax_url="${cohorts_ajax_url}"> <section class="cohort_manager" data-ajax_url="${cohorts_ajax_url}">
<h3>Cohort groups</h3> <h3>Cohort groups</h3>
<div class="controls"> <div class="controls" style="padding-top:15px">
<a href="#" class="button show_cohorts">Show cohorts</a> <a href="#" class="button show_cohorts">Show cohorts</a>
</div> </div>
......
...@@ -285,7 +285,9 @@ function goto( mode) ...@@ -285,7 +285,9 @@ function goto( mode)
</p> </p>
<hr width="40%" style="align:left"> <hr width="40%" style="align:left">
%if course.is_cohorted:
<%include file="/course_groups/cohort_management.html" /> <%include file="/course_groups/cohort_management.html" />
%endif
%endif %endif
%endif %endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment