l.a.b.t.BugTaskFormatterAPI(CustomizableFormatter) : class documentation

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

Adapter for IBugTask objects to a formatted string.
Method _title_values Return a dict of values to use for template substitution.
Method _make_link_summary Create a summary from _template and _link_summary_values().

Inherited from CustomizableFormatter:

Method sprite_css Retrieve the icon for the _context, if any.
Method link Return html including a link, description and icon.
Method _link_summary_values Return a dict of values to use for template substitution.
Method _make_title Create a title from _title_template and _title_values().

Inherited from ObjectFormatterAPI (via CustomizableFormatter):

Method __init__ Undocumented
Method url Return the object's canonical URL.
Method api_url Return the object's (partial) canonical web service URL.
Method traverse Traverse the specified path, processing any optional parameters.
Method global_css Undocumented
Method pagetitle The page title to be used.
Method _getSaneBreadcrumbDetail Undocumented
def _title_values(self):
Return a dict of values to use for template substitution.

These values should not be escaped, as this will be performed later. For this reason, only string values should be supplied.

def _make_link_summary(self):
Create a summary from _template and _link_summary_values().

This summary is for use in fmt:link, which is meant to be used in contexts like lists of items.

API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.