c.l.w.t.BugWatchFormatterAPI(ObjectFormatterAPI) : class documentation

Part of canonical.launchpad.webapp.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 Undocumented
Method link Return an HTML link to the object's page.
Method public_private_css Return the CSS class that represents the object's privacy.
Method pagetitle The page title to be used.
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 2010-09-27 00:00:11.