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

Closes #3216
pull/3229/head^2
Sandro Santilli 7 years ago committed by Lunny Xiao
parent 0e384c6376
commit 7e59587173
  1. 2
      templates/repo/header.tmpl

@ -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