summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-08-04 16:32:02 -0700
committerUnknwon <u@gogs.io>2016-08-04 16:32:02 -0700
commit2f105f397965637c46ca6c0092a7c5fe38440dab (patch)
tree0ddb0e4b25cbc7d28fbf6ec34fbfcc8514877481 /templates
parentee28fd92551961070cff4fe1b37ab94268c2f111 (diff)
downloadgitea-2f105f397965637c46ca6c0092a7c5fe38440dab.tar.gz
gitea-2f105f397965637c46ca6c0092a7c5fe38440dab.zip
#2162 completely disable builtin issue tracker when enable external tracker
Diffstat (limited to 'templates')
-rw-r--r--templates/.VERSION2
-rw-r--r--templates/repo/header.tmpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/.VERSION b/templates/.VERSION
index 3e31f4ddfc..f60bbf6177 100644
--- a/templates/.VERSION
+++ b/templates/.VERSION
@@ -1 +1 @@
-0.9.60.0803 \ No newline at end of file
+0.9.61.0804 \ No newline at end of file
diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl
index d9ac29fbf9..10bfb80e11 100644
--- a/templates/repo/header.tmpl
+++ b/templates/repo/header.tmpl
@@ -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>