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

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

Adapter for IKarmaCategory objects to an image.

Used for image:icon.

Method icon Undocumented

Inherited from ObjectImageDisplayAPI:

Method __init__ Undocumented
Method sprite_css Return the CSS class for the sprite
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 badges Undocumented
Method boolean Return an icon representing the context as a boolean value.
def icon(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.