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 eed88dc commit 5e98d67Copy full SHA for 5e98d67
templates/repo/graph/commits.tmpl
@@ -33,14 +33,8 @@
33
{{range $commit.Refs}}
34
{{$refGroup := .RefGroup}}
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
+ {{if or (not $.HidePRRefs) (containGeneric $.SelectedBranches .Name)}}
+ <a class="ui labelled icon button basic tiny" href="{{$.RepoLink}}/pulls/{{.ShortName|PathEscape}}">
44
{{svg "octicon-git-pull-request" 16 "mr-2"}}#{{.ShortName}}
45
</a>
46
{{end}}
0 commit comments