Merge lp:~cjwatson/launchpad/git-ref-listing-names into lp:launchpad
Proposed by
Colin Watson
Status: | Merged |
---|---|
Merged at revision: | 17467 |
Proposed branch: | lp:~cjwatson/launchpad/git-ref-listing-names |
Merge into: | lp:launchpad |
Diff against target: |
25 lines (+2/-2) 2 files modified
lib/lp/code/templates/gitref-index.pt (+1/-1) lib/lp/code/templates/gitref-listing.pt (+1/-1) |
To merge this branch: | bzr merge lp:~cjwatson/launchpad/git-ref-listing-names |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
William Grant | code | Approve | |
Review via email: mp+257776@code.launchpad.net |
Commit message
Use name rather than display_name on IGitRef:+index and IGitRefBatchNav
Description of the change
A couple of pages look weird now that GitRef.display_name includes the repository name. That makes sense in places such as merge proposals where we want to render a ref on its own without an obvious repository context, but it looks a little odd on GitRef:+index where the repository is linked alongside it, and downright peculiar in branch listings. GitRef.name will do for these cases.
To post a comment you must log in.