Skip to content

Commit 6a3ad0b

Browse files
6543zeripath
andauthored
reverse #15734 partial and comment (#15740)
* reverse & comment * Update templates/repo/graph/commits.tmpl Co-authored-by: 6543 <[email protected]> Co-authored-by: zeripath <[email protected]>
1 parent 3088866 commit 6a3ad0b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

templates/repo/graph/commits.tmpl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
{{$refGroup := .RefGroup}}
3535
{{if eq $refGroup "pull"}}
3636
{{if or (not $.HidePRRefs) (containGeneric $.SelectedBranches .Name)}}
37-
<a class="ui labelled icon button basic tiny" href="{{$.RepoLink}}/pulls/{{.ShortName|PathEscape}}">
37+
<!-- it's intended to use issues not pulls, if it's a pull you will get redirected -->
38+
<a class="ui labelled icon button basic tiny" href="{{$.RepoLink}}/issues/{{.ShortName|PathEscape}}">
3839
{{svg "octicon-git-pull-request" 16 "mr-2"}}#{{.ShortName}}
3940
</a>
4041
{{end}}

0 commit comments

Comments
 (0)