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

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

Adapter for IGitRef objects to a formatted string.
Method url See ObjectFormatterAPI.
Method _link_summary_values Return a dict of values to use for template substitution.

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 _make_link_summary Create a summary from _template and _link_summary_values().
Method _title_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 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 url(self, view_name=None, rootsite=None):
See ObjectFormatterAPI.

GitRefRemote objects have no canonical URL.

def _link_summary_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.

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