#2162 completely disable builtin issue tracker when enable external tracker

This commit is contained in:
Unknwon
2016-08-04 16:32:02 -07:00
parent ee28fd9255
commit 2f105f3979
7 changed files with 17 additions and 10 deletions

View File

@ -1 +1 @@
0.9.60.0803
0.9.61.0804

View File

@ -52,7 +52,7 @@
<a class="{{if .PageIsViewCode}}active{{end}} item" href="{{.RepoLink}}">
<i class="octicon octicon-code"></i> {{.i18n.Tr "repo.code"}}
</a>
{{if .Repository.EnableIssues}}
{{if and .Repository.EnableIssues (not .Repository.EnableExternalTracker)}}
<a class="{{if .PageIsIssueList}}active{{end}} item" href="{{.RepoLink}}/issues">
<i class="octicon octicon-issue-opened"></i> {{.i18n.Tr "repo.issues"}} <span class="ui {{if not .Repository.NumOpenIssues}}gray{{else}}blue{{end}} small label">{{.Repository.NumOpenIssues}}</span>
</a>