Commit 4d9140e1 by ichuang

multicourse: display course in mitxhome only if active = True for course

parent d3042617
......@@ -29,7 +29,9 @@ $(document).ready(function(){
<h3>Courses available:</h3>
<ul>
% for coursename, info in courseinfo.items():
% if info['active']:
<li><a href=${ MITX_ROOT_URL }/courseware/${coursename}/>${info['title']} (${coursename})</a></li>
% endif
% endfor
</ul>
</section>
......
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