aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandro Santilli <strk@kbt.io>2017-12-19 06:14:32 +0100
committerLauris BH <lauris@nix.lv>2017-12-19 07:14:32 +0200
commitf33cd3c676e76e75a6d7cdd59c6ef3c6765a006d (patch)
treeac8efd7f0ade32db4bd33196211d13a1eea85b5c
parentfecf9390ef2abd42edb9fdb79d8d91147cca0e91 (diff)
downloadgitea-f33cd3c676e76e75a6d7cdd59c6ef3c6765a006d.tar.gz
gitea-f33cd3c676e76e75a6d7cdd59c6ef3c6765a006d.zip
Open external tracker in blank window, consistently with wiki (#3228)
Closes #3216
-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}}