Link outline subsections into the course

This commit is contained in:
Brian Jacobel
2017-02-14 14:46:58 -05:00
parent f531205cd9
commit b63472520c
10 changed files with 67 additions and 40 deletions

View File

@@ -274,7 +274,7 @@ class CoursewarePage(CoursePage):
@property
def breadcrumb(self):
""" Return the course tree breadcrumb shown above the sequential bar """
return [part.strip() for part in self.q(css='.path').text[0].split('>')]
return [part.strip() for part in self.q(css='.path .position').text[0].split('>')]
def unit_title_visible(self):
""" Check if unit title is visible """