l.a.b.t.BugTaskListingItemImageDisplayAPI(BugTaskImageDisplayAPI) : class documentation

Part of lp.app.browser.tales View In Hierarchy

Formatter for image:badges for BugTaskListingItem.

The BugTaskListingItem has some attributes to decide whether a badge should be displayed, which don't require a DB query when they are accessed.

Method _hasBugBranch See BugTaskImageDisplayAPI
Method _hasSpecification See BugTaskImageDisplayAPI
Method _hasPatch See BugTaskImageDisplayAPI

Inherited from BugTaskImageDisplayAPI:

Method traverse Special-case traversal for icons with an optional rootsite.
Method sprite_css Return the CSS class for the sprite
Method icon Display the icon dependent on the IBugTask.importance.
Method badges Undocumented

Inherited from ObjectImageDisplayAPI (via BugTaskImageDisplayAPI):

Method __init__ Undocumented
Method default_logo_resource Undocumented
Method default_mugshot_resource Undocumented
Method custom_icon_url Return the URL for this object's icon.
Method logo Return the appropriate <img> tag for this object's logo.
Method mugshot Return the appropriate <img> tag for this object's mugshot.
Method boolean Return an icon representing the context as a boolean value.
def _hasBugBranch(self):
See BugTaskImageDisplayAPI
def _hasSpecification(self):
See BugTaskImageDisplayAPI
def _hasPatch(self):
See BugTaskImageDisplayAPI
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.