l.a.b.t.BugWatchFormatterAPI(ObjectFormatterAPI) : class documentation

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

Adapter for IBugWatch objects to a formatted string.
Method external_link Return an HTML link with a detailed link text.
Method external_link_short Return an HTML link with a short link text.
Method _make_external_link Return an external HTML link to the target of the bug watch.

Inherited from ObjectFormatterAPI:

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 link Return an HTML link to the object's page.
Method global_css Undocumented
Method pagetitle The page title to be used.
Method _getSaneBreadcrumbDetail Undocumented
def _make_external_link(self, summary=None):
Return an external HTML link to the target of the bug watch.

If a summary is not specified or empty, an em-dash is used as the content of the link.

If the user is not logged in and the URL of the bug watch is an email address, only the summary is returned (i.e. no link).

def external_link(self):
Return an HTML link with a detailed link text.

The link text is formed from the bug tracker name and the remote bug number.

def external_link_short(self):
Return an HTML link with a short link text.

The link text is formed from the bug tracker name and the remote bug number.

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