diff --git a/cms/templates/overview.html b/cms/templates/overview.html index c9299981aa..fab770ba23 100644 --- a/cms/templates/overview.html +++ b/cms/templates/overview.html @@ -2,10 +2,13 @@ <%! from django.core.urlresolvers import reverse %> <%block name="title">CMS Courseware Overview -<%def name="branch(section)"> +<%def name="branch(section, depth)"> + <% + has_children = depth > 0 and len(section.get_children()) > 0 + %> @@ -58,7 +64,7 @@
    % for section in week.get_children(): - ${branch(section)} + ${branch(section, 1)} % endfor ${new_unit()}