Part of lp.code.browser.branch View In Hierarchy
Known subclasses: lp.code.feed.branch.BranchFeedContentView
| Method | page_title | Undocumented |
| Method | initialize | Undocumented |
| Method | user_is_subscribed | Is the current user subscribed to this branch? |
| Method | owner_is_reviewer | Is the branch owner the default reviewer? |
| Method | show_whiteboard | Return whether or not the whiteboard should be shown. |
| Method | has_metadata | Return whether there is branch metadata to display. |
| Method | is_empty_directory | True if the branch is an empty directory without even a '.bzr'. |
| Method | pending_updates | Whether or not there are pending updates for this branch. |
| Method | bzr_download_url | Return the generic URL for downloading the branch. |
| Method | bzr_upload_url | Return the generic URL for uploading the branch. |
| Method | user_can_upload | Whether the user can upload to this branch. |
| Method | user_can_download | Whether the user can download this branch. |
| Method | landing_targets | Return a filtered list of landing targets. |
| Method | latest_landing_candidates | Return a decorated filtered list of landing candidates. |
| Method | landing_candidates | Return a decorated list of landing candidates. |
| Method | recipes_link | A link to recipes for this branch. |
| Method | is_imported | Is this an imported branch? |
| Method | is_import_branch_with_no_landing_candidates | Is the branch an import branch with no landing candidates? |
| Method | dependent_branch_count_text | Undocumented |
| Method | landing_candidate_count_text | Undocumented |
| Method | dependent_branches | Undocumented |
| Method | no_merges | Return true if there are no pending merges |
| Method | show_candidate_more_link | Only show the link if there are more than five. |
| Method | show_rescan_link | Only show the rescan button if the latest scan has failed |
| Method | linked_bugtasks | Return a list of bugtasks linked to the branch. |
| Method | revision_info | Undocumented |
| Method | show_merge_links | Return whether or not merge proposal links should be shown. |
| Method | translations_sources | Anything that automatically exports its translations here. |
| Method | status_widget | The config to configure the ChoiceSource JS widget. |
| Method | spec_links | Undocumented |
| Method | _getBranchCountText | Help to show user friendly text. |
Inherited from InformationTypePortletMixin:
| Method | information_type | Undocumented |
| Method | information_type_description | Undocumented |
| Method | information_type_css | Undocumented |
| Method | privacy_portlet_css | Undocumented |
| Method | _getContext | Undocumented |
Inherited from FeedsMixin:
| Method | feed_links | Undocumented |
Inherited from BranchMirrorMixin:
| Method | mirror_location | Check the mirror location to see if it is a private one. |
Inherited from HasSnapsViewMixin:
| Method | snaps | Undocumented |
| Method | snaps_link | A link to snap packages for this object. |
Inherited from CodeImportTargetMixin:
| Method | latest_code_import_results | Return the last 10 CodeImportResults. |
| Method | iconForCodeImportResultStatus | The icon to represent the CodeImportResultStatus status. |
| Method | url_is_web | True if an imported branch's URL is HTTP or HTTPS. |
The whiteboard is only shown for import branches.
Merge proposal links should not be shown if there is only one branch in a non-final state.