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

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

Adapter for IBugTracker objects to a formatted string.
Method link Return an HTML link to the bugtracker page.
Method external_link Return an HTML link to the external bugtracker.
Method external_title_link Return an HTML link to the external bugtracker.
Method aliases Generate alias URLs, obfuscating where necessary.

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 global_css Undocumented
Method pagetitle The page title to be used.
Method _getSaneBreadcrumbDetail Undocumented
def link(self, view_name):
Return an HTML link to the bugtracker page.

If the user is not logged-in, the title of the bug tracker is modified to obfuscate all email addresses.

def external_link(self):
Return an HTML link to the external bugtracker.

If the user is not logged-in, and the URL of the bugtracker contains an email address, this returns the obfuscated URL as text (i.e. no <a/> link).

def external_title_link(self):
Return an HTML link to the external bugtracker.

If the user is not logged-in, the title of the bug tracker is modified to obfuscate all email addresses. Additonally, if the URL is a mailto: address then no link is returned, just the title text.

def aliases(self):
Generate alias URLs, obfuscating where necessary.

If the user is not logged-in, email addresses should be hidden.

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