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

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

Adapter providing fmt support for IArchive objects.
Method link Return html including a link for the context archive.
Method reference Return the text PPA reference for a PPA.
Method _link_summary_values See CustomizableFormatter._link_summary_values.

Inherited from CustomizableFormatter:

Method sprite_css Retrieve the icon for the _context, if any.
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 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_summary_values(self):
See CustomizableFormatter._link_summary_values.
def link(self, view_name):
Return html including a link for the context archive.

Render a link using CSS sprites for users with permission to view the archive.

Disabled PPAs are listed with sprites but not linkified.

Inaccessible private PPAs are not rendered at all (empty string is returned).

def reference(self, view_name=None, rootsite=None):
Return the text PPA reference for a PPA.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.