Part of lp.code.browser.diff View In Hierarchy
Known subclasses: lp.code.browser.diff.PreviewDiffFormatterAPI
Method | url | Use the url of the librarian file containing the diff. |
Method | link | The link to the diff should show the line count. |
Method | _get_url | Undocumented |
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 |
Stale diffs will have a stale-diff css class. Diffs with conflicts will have a conflict-diff css class. Diffs with neither will have clean-diff css class.
The title of the diff will show the number of lines added or removed if available.
Parameters | view_name | If not None, the link will point to the page with that name on this object. |