File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change 33
33
{{range $commit.Refs}}
34
34
{{$refGroup := .RefGroup}}
35
35
{{if eq $refGroup "pull"}}
36
- {{if $.HidePRRefs}}
37
- {{if (containGeneric $.SelectedBranches .Name) }}
38
- <a class="ui labelled icon button basic tiny" href="{{$.RepoLink}}/issues/{{.ShortName|PathEscape}}">
39
- {{svg "octicon-git-pull-request" 16 "mr-2"}}#{{.ShortName}}
40
- </a>
41
- {{end}}
42
- {{else}}
43
- <a class="ui labelled icon button basic tiny" href="{{$.RepoLink}}/issues/{{.ShortName|PathEscape}}">
36
+ {{if or (not $.HidePRRefs) (containGeneric $.SelectedBranches .Name)}}
37
+ <a class="ui labelled icon button basic tiny" href="{{$.RepoLink}}/pulls/{{.ShortName|PathEscape}}">
44
38
{{svg "octicon-git-pull-request" 16 "mr-2"}}#{{.ShortName}}
45
39
</a>
46
40
{{end}}
You can’t perform that action at this time.
0 commit comments