aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo
diff options
context:
space:
mode:
authorSandro Santilli <strk@kbt.io>2017-12-19 02:30:34 +0100
committerLunny Xiao <xiaolunwen@gmail.com>2017-12-18 19:30:34 -0600
commit7e59587173bc9c5f5964f8b11f48aa950eb6f9cc (patch)
treed3662a290a85f9b50e802f55450fad59d6f6db51 /templates/repo
parent0e384c6376ceb8fb7eb03636ba44c8aea338ad7a (diff)
downloadgitea-7e59587173bc9c5f5964f8b11f48aa950eb6f9cc.tar.gz
gitea-7e59587173bc9c5f5964f8b11f48aa950eb6f9cc.zip
Open external tracker in blank window, consistently with wiki (#3227)
Closes #3216
Diffstat (limited to 'templates/repo')
-rw-r--r--templates/repo/header.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl
index 024a5b77b3..d4d43c5b42 100644
--- a/templates/repo/header.tmpl
+++ b/templates/repo/header.tmpl
@@ -62,7 +62,7 @@
{{end}}
{{if .Repository.UnitEnabled $.UnitTypeExternalTracker}}
- <a class="{{if .PageIsIssueList}}active{{end}} item" href="{{.RepoLink}}/issues">
+ <a class="{{if .PageIsIssueList}}active{{end}} item" href="{{.RepoLink}}/issues" target="_blank">
<i class="octicon octicon-issue-opened"></i> {{.i18n.Tr "repo.issues"}} </span>
</a>
{{end}}