We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f134229 commit 8f1e283Copy full SHA for 8f1e283
templates/repo/issue/view_content/sidebar.tmpl
@@ -704,7 +704,7 @@
704
</div>
705
{{end}}
706
707
- {{if and .Issue.IsPull .IsIssuePoster (not .Issue.IsClosed)}}
+ {{if and .Issue.IsPull .IsIssuePoster (not .Issue.IsClosed) .Issue.PullRequest.HeadRepo}}
708
{{if and (not (eq .Issue.PullRequest.HeadRepo.FullName .Issue.PullRequest.BaseRepo.FullName)) .CanWriteToHeadRepo}}
709
<div class="ui divider"></div>
710
<div class="inline field">
0 commit comments