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

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

Formatter for a SourcePackage, Pocket -> Branch link.

Since the link object is never really interesting in and of itself, we always link to the source package instead.

Method url Return the object's canonical URL.
Method link Return an HTML link to the object's page.

Inherited from ObjectFormatterAPI:

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):
Return the object's canonical URL.
Parametersview_nameIf not None, return the URL to the page with that name on this object.
rootsiteIf not None, return the URL to the page on the specified rootsite. Note this is available only for subclasses that allow specifying the rootsite.
def link(self, view_name):
Return an HTML link to the object's page.

The link consists of an icon followed by the object's name.

Parametersview_nameIf not None, the link will point to the page with that name on this object.
rootsiteIf not None, return the URL to the page on the specified rootsite. Note this is available only for subclasses that allow specifying the rootsite.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.