Browse Source

Open external tracker in blank window, consistently with wiki (#3227)

Closes #3216
master
Sandro Santilli Lunny Xiao 7 years ago
parent
commit
7e59587173
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      templates/repo/header.tmpl

+ 1
- 1
templates/repo/header.tmpl View File

@@ -62,7 +62,7 @@
{{end}} {{end}}


{{if .Repository.UnitEnabled $.UnitTypeExternalTracker}} {{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> <i class="octicon octicon-issue-opened"></i> {{.i18n.Tr "repo.issues"}} </span>
</a> </a>
{{end}} {{end}}


Loading…
Cancel
Save