diff options
author | Unknwon <u@gogs.io> | 2015-11-16 11:11:59 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-11-16 11:11:59 -0500 |
commit | 5dc3dd17049a5c097122c6159aa7a915658c263a (patch) | |
tree | 5ab99c59f6b9cf55f4e4de5b0cf5619d95c81355 /templates/repo/issue/navbar.tmpl | |
parent | 134d8e7681d098b8b37d4ee47cea0e03d643965d (diff) | |
download | gitea-5dc3dd17049a5c097122c6159aa7a915658c263a.tar.gz gitea-5dc3dd17049a5c097122c6159aa7a915658c263a.zip |
fix #1960
Diffstat (limited to 'templates/repo/issue/navbar.tmpl')
-rw-r--r-- | templates/repo/issue/navbar.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/navbar.tmpl b/templates/repo/issue/navbar.tmpl index 7fdc41aa21..d6d1074c6d 100644 --- a/templates/repo/issue/navbar.tmpl +++ b/templates/repo/issue/navbar.tmpl @@ -1,5 +1,5 @@ <div class="ui compact small menu"> - {{if not .CommitsCount}} + {{if not .PageIsList}} <a class="{{if .PageIsIssueList}}active{{end}} item" href="{{.RepoLink}}/issues">{{.i18n.Tr "repo.issues"}}</a> <a class="{{if .PageIsPullList}}active{{end}} item" href="{{.RepoLink}}/pulls">{{.i18n.Tr "repo.pulls"}}</a> {{end}} |