aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2021-05-06 06:05:54 +0200
committerGitHub <noreply@github.com>2021-05-06 00:05:54 -0400
commit6a3ad0b24e6d0e859c2073126af429ef1892e712 (patch)
tree9a382d168969925eeb97f15254997eb784783b96 /templates
parent308886653148d859080222ebb72966e020f9391e (diff)
downloadgitea-6a3ad0b24e6d0e859c2073126af429ef1892e712.tar.gz
gitea-6a3ad0b24e6d0e859c2073126af429ef1892e712.zip
reverse #15734 partial and comment (#15740)
* reverse & comment * Update templates/repo/graph/commits.tmpl Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/graph/commits.tmpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/repo/graph/commits.tmpl b/templates/repo/graph/commits.tmpl
index d08539ebeb..bf67596bc6 100644
--- a/templates/repo/graph/commits.tmpl
+++ b/templates/repo/graph/commits.tmpl
@@ -34,7 +34,8 @@
{{$refGroup := .RefGroup}}
{{if eq $refGroup "pull"}}
{{if or (not $.HidePRRefs) (containGeneric $.SelectedBranches .Name)}}
- <a class="ui labelled icon button basic tiny" href="{{$.RepoLink}}/pulls/{{.ShortName|PathEscape}}">
+ <!-- it's intended to use issues not pulls, if it's a pull you will get redirected -->
+ <a class="ui labelled icon button basic tiny" href="{{$.RepoLink}}/issues/{{.ShortName|PathEscape}}">
{{svg "octicon-git-pull-request" 16 "mr-2"}}#{{.ShortName}}
</a>
{{end}}