Add ref issue when creating pull request from issue

This commit is contained in:
Lunny Xiao
2024-08-29 12:43:47 -07:00
parent 6b829f77a3
commit 0208f5bc4c
3 changed files with 17 additions and 1 deletions
@@ -33,7 +33,7 @@
</a>
</div>
<div class="tw-right">
<a class="ui button mini compact basic icon" href="{{$.Issue.Repo.Link}}/compare/{{$.Issue.Repo.DefaultBranch}}...{{.Branch.Repo.FullName}}:{{.Branch.Name}}">
<a class="ui button mini compact basic icon" href="{{$.Issue.Repo.Link}}/compare/{{$.Issue.Repo.DefaultBranch}}...{{.Branch.Repo.FullName}}:{{.Branch.Name}}?ref_issue_index={{$.Issue.Index}}">
{{svg "octicon-git-pull-request"}}
</a>
</div>