Part of canonical.launchpad.webapp.tales View In Hierarchy
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 | _hasMentoringOffer | See BugTaskImageDisplayAPI |
| 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 | 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. |