Merge lp:~jml/launchpad/browse-source-code into lp:launchpad
Proposed by
Jonathan Lange
Status: | Merged |
---|---|
Approved by: | Brad Crittenden |
Approved revision: | no longer in the source branch. |
Merged at revision: | not available |
Proposed branch: | lp:~jml/launchpad/browse-source-code |
Merge into: | lp:launchpad |
Diff against target: |
97 lines 7 files modified
lib/lp/code/browser/branch.py (+1/-0) lib/lp/code/browser/tests/test_product.py (+1/-2) lib/lp/code/configure.zcml (+1/-0) lib/lp/code/interfaces/branch.py (+3/-0) lib/lp/code/model/branch.py (+4/-0) lib/lp/code/model/tests/test_branch.py (+7/-0) lib/lp/code/templates/product-branch-summary.pt (+1/-1) |
To merge this branch: | bzr merge lp:~jml/launchpad/browse-source-code |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Brad Crittenden (community) | code | Approve | |
Martin Albisetti (community) | ui | Approve | |
Review via email: mp+12933@code.launchpad.net |
Commit message
Change the browse source code link on product branch pages so that it links to the actual source code rather than a revision log.
To post a comment you must log in.
Go to https:/ /code.edge. launchpad. net/launchpad. There's a link to "browse the source code". Click this link, and you'll be taken to a list of revisions. What you want is to be taken to a list of files.
This branch gives you what you want.
The patch adds a new property to give the right URL, a test for that property, and changes the template to use the new property.