Part of lp.app.browser.badge View In Hierarchy
Known subclasses: lp.code.browser.branchlisting.BranchBadges, lp.registry.browser.team.TeamBadges, lp.soyuz.browser.archive.ArchiveBadges
Derived classes need to provide a sequence of badge names that
could be visible available through the attribute badges
.
The visibility of these badges are checked by calling a method like
isFooBadgeVisible
where Foo is the capitalised name of the badge.
Method | __init__ | Undocumented |
Method | isPrivateBadgeVisible | Undocumented |
Method | getVisibleBadges | See IHasBadges . |
Method | getBadge | Return the badge instance for the name specified. |
Method | _isBadgeVisible | Is the badge_name badge visible for the logged in user? |
Method | _getBadgeTitle | Does the badge_name badge have a custom title? |
Delegate the determination to a method based on the name of the badge.
Delegate the determination to a method based on the name of the badge.