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 438848a commit 5c30817Copy full SHA for 5c30817
templates/repo/home.tmpl
@@ -54,8 +54,8 @@
54
<div class="ui stackable secondary menu mobile--margin-between-items mobile--no-negative-margins">
55
{{if and .PullRequestCtx.Allowed .IsViewBranch}}
56
<div class="fitted item">
57
- <a href="{{.BaseRepo.Link}}/compare/{{.BaseRepo.DefaultBranch | EscapePound}}...{{.Repository.Owner.Name}}:{{.BranchName | EscapePound}}">
58
- <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>
59
</a>
60
</div>
61
{{end}}
0 commit comments