Commit 23ef660b by Mark L. Chang

feature to toggle the toy courses

parent a7bcaaf5
...@@ -77,12 +77,15 @@ ...@@ -77,12 +77,15 @@
</section> </section>
<section class="courses"> <section class="courses">
## hack to get the edx-labeled test courses in place ## toy courses
%if settings.MITX_FEATURES['DISPLAY_TOY_COURSES']:
<section class='university-column'> <section class='university-column'>
%for course in universities['edX']: %for course in universities['edX']:
<%include file="course.html" args="course=course" /> <%include file="course.html" args="course=course" />
%endfor %endfor
</section> </section>
%endif
<section class='university-column'> <section class='university-column'>
%for course in universities['MITx']: %for course in universities['MITx']:
<%include file="course.html" args="course=course" /> <%include file="course.html" args="course=course" />
......
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