diff options
author | Sandro Santilli <strk@kbt.io> | 2017-12-19 06:14:32 +0100 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2017-12-19 07:14:32 +0200 |
commit | f33cd3c676e76e75a6d7cdd59c6ef3c6765a006d (patch) | |
tree | ac8efd7f0ade32db4bd33196211d13a1eea85b5c | |
parent | fecf9390ef2abd42edb9fdb79d8d91147cca0e91 (diff) | |
download | gitea-f33cd3c676e76e75a6d7cdd59c6ef3c6765a006d.tar.gz gitea-f33cd3c676e76e75a6d7cdd59c6ef3c6765a006d.zip |
Open external tracker in blank window, consistently with wiki (#3228)
Closes #3216
-rw-r--r-- | templates/repo/header.tmpl | 2 |
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}} |