We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c62c0b6 commit 16678f5Copy full SHA for 16678f5
templates/repo/home.tmpl
@@ -59,8 +59,8 @@
59
<div class="ui stackable secondary menu mobile--margin-between-items mobile--no-negative-margins">
60
{{if and .PullRequestCtx.Allowed .IsViewBranch}}
61
<div class="fitted item">
62
- <a href="{{.BaseRepo.Link}}/compare/{{.BaseRepo.DefaultBranch | EscapePound}}...{{.Repository.Owner.Name}}:{{.BranchName | EscapePound}}">
63
- <button class="ui green tiny compact button"><i class="octicon octicon-git-compare"></i></button>
+ <a href="{{.BaseRepo.Link}}/compare/{{.BaseRepo.DefaultBranch | EscapePound}}...{{ if .Repository.IsFork }}{{.Repository.Owner.Name}}{{ else }}{{ .SignedUserName }}{{ end }}:{{.BranchName | EscapePound}}">
+ <button class="ui green tiny compact button"><i class="octicon octicon-git-compare"></i></button>
64
</a>
65
</div>
66
{{end}}
0 commit comments