Skip to content

Commit d6eb157

Browse files
committed
This unfortunately was not the solution. Signed-off-by: Andrew Thornton <art27@cantab.net>
1 parent 1219d46 commit d6eb157

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/home.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
<div class="ui stackable secondary menu mobile--margin-between-items mobile--no-negative-margins">
6060
{{if and .PullRequestCtx.Allowed .IsViewBranch (not .Repository.IsArchived)}}
6161
<div class="fitted item">
62-
<a href="{{.BaseRepo.Link}}/compare/{{.BaseRepo.DefaultBranch | EscapePound}}...{{ if .Repository.IsFork }}{{.Repository.Owner.Name}}{{ else }}{{ .SignedUserName }}{{ end }}:{{.BranchName | EscapePound}}">
62+
<a href="{{.BaseRepo.Link}}/compare/{{.BaseRepo.DefaultBranch | EscapePound}}...{{if ne .Repository.Owner.Name .BaseRepo.Owner.Name}}{{.Repository.Owner.Name}}:{{end}}{{.BranchName | EscapePound}}">
6363
<button class="ui green tiny compact button"><i class="octicon octicon-git-compare"></i></button>
6464
</a>
6565
</div>

0 commit comments

Comments
 (0)