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

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

Known subclasses: lp.app.browser.tales.BugTaskListingItemImageDisplayAPI

Adapter for IBugTask objects to a formatted string. This inherits from the generic ObjectImageDisplayAPI and overrides the icon presentation method.

Used for image:icon.

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
Method _hasBugBranch Return whether the bug has a branch linked to it.
Method _hasSpecification Return whether the bug is linked to a specification.
Method _hasPatch Return whether the bug has a patch.

Inherited from ObjectImageDisplayAPI:

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 traverse(self, name, furtherPath):
Special-case traversal for icons with an optional rootsite.
def sprite_css(self):
Return the CSS class for the sprite
def icon(self):
Display the icon dependent on the IBugTask.importance.
def _hasBugBranch(self):
Return whether the bug has a branch linked to it.
def _hasSpecification(self):
Return whether the bug is linked to a specification.
def _hasPatch(self):
Return whether the bug has a patch.
def badges(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.