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
<section class='university-column'> %if settings.MITX_FEATURES['DISPLAY_TOY_COURSES']:
%for course in universities['edX']: <section class='university-column'>
<%include file="course.html" args="course=course" /> %for course in universities['edX']:
%endfor <%include file="course.html" args="course=course" />
</section> %endfor
</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