c.l.w.t.BugTaskImageDisplayAPI(ObjectImageDisplayAPI) : class documentation

Part of canonical.launchpad.webapp.tales View In Hierarchy

Known subclasses: canonical.launchpad.webapp.tales.BugTaskListingItemImageDisplayAPI

Implements interfaces: zope.traversing.interfaces.ITraversable

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 _hasMentoringOffer Return whether the bug has a mentoring offer.
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 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.
Method _get_custom_icon_url Return the URL for this object's icon.
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 _hasMentoringOffer(self):
Return whether the bug has a mentoring offer.
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 2010-09-27 00:00:11.