Part of canonical.launchpad.browser.launchpad View In Hierarchy
Known subclasses: lp.code.browser.branch.BranchHierarchy, lp.code.browser.sourcepackagerecipe.SourcePackageRecipeHierarchy
Method | objects | The objects for which we want breadcrumbs. |
Method | items | Return a list of IBreadcrumb objects visible in the hierarchy. |
Method | makeBreadcrumbForRequestedPage | Return an IBreadcrumb for the requested page. |
Method | display_breadcrumbs | Return whether the breadcrumbs should be displayed. |
Method | _naked_context_view | Return the unproxied view for the context of the hierarchy. |
IBreadcrumb
objects visible in the hierarchy.
The list starts with the breadcrumb closest to the hierarchy root.
IBreadcrumb
for the requested page.
The IBreadcrumb
for the requested page is created using the current
URL and the page's name (i.e. the last path segment of the URL).
If the requested page (as specified in self.request) is the default one for our parent view's context, return None.