We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4f28fd commit e849125Copy full SHA for e849125
templates/repo/graph/commits.tmpl
@@ -35,7 +35,7 @@
35
{{if eq $refGroup "pull"}}
36
{{if or (not $.HidePRRefs) (containGeneric $.SelectedBranches .Name)}}
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}}">
+ <a class="ui labelled icon button basic tiny" href="{{$.RepoLink}}/{{if $.Repository.UnitEnabled $.UnitTypePullRequests}}pulls{{else}}issues{{end}}/{{.ShortName|PathEscape}}">
39
{{svg "octicon-git-pull-request" 16 "mr-2"}}#{{.ShortName}}
40
</a>
41
{{end}}
0 commit comments