Part of canonical.launchpad.webapp.tales View In Hierarchy
Known subclasses: canonical.launchpad.webapp.tales.ArchiveImageDisplayAPI, canonical.launchpad.webapp.tales.BugTaskImageDisplayAPI, canonical.launchpad.webapp.tales.BuildImageDisplayAPI, canonical.launchpad.webapp.tales.KarmaCategoryImageDisplayAPI, canonical.launchpad.webapp.tales.MilestoneImageDisplayAPI, canonical.launchpad.webapp.tales.QuestionImageDisplayAPI, canonical.launchpad.webapp.tales.SpecificationImageDisplayAPI
Method | __init__ | Undocumented |
Method | sprite_css | Return the CSS class for the sprite |
Method | default_logo_resource | Undocumented |
Method | default_mugshot_resource | Undocumented |
Method | icon | 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 | badges | Undocumented |
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. |
Returns | A string, or None if the context object doesn't have a logo. |
Returns | A string, or None if the context object doesn't have a mugshot. |