diff options
author | Unknwon <u@gogs.io> | 2015-11-16 10:14:12 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-11-16 10:14:12 -0500 |
commit | 134d8e7681d098b8b37d4ee47cea0e03d643965d (patch) | |
tree | bd14c2318fce4b282687d41e77fba3b268bd4bc1 /templates/repo/issue/navbar.tmpl | |
parent | c9b65f0fdcaebb23cc6071e86881f623e6b6a3e7 (diff) | |
download | gitea-134d8e7681d098b8b37d4ee47cea0e03d643965d.tar.gz gitea-134d8e7681d098b8b37d4ee47cea0e03d643965d.zip |
work on #1961
Diffstat (limited to 'templates/repo/issue/navbar.tmpl')
-rw-r--r-- | templates/repo/issue/navbar.tmpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/repo/issue/navbar.tmpl b/templates/repo/issue/navbar.tmpl index 327011afd7..7fdc41aa21 100644 --- a/templates/repo/issue/navbar.tmpl +++ b/templates/repo/issue/navbar.tmpl @@ -1,6 +1,8 @@ <div class="ui compact small menu"> + {{if not .CommitsCount}} <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}} <a class="{{if .PageIsLabels}}active{{end}} item" href="{{.RepoLink}}/labels">{{.i18n.Tr "repo.labels"}}</a> <a class="{{if .PageIsMilestones}}active{{end}} item" href="{{.RepoLink}}/milestones">{{.i18n.Tr "repo.milestones"}}</a> </div>
\ No newline at end of file |