gitroast/templates/repo/issue/navbar.tmpl

8 lines
537 B
Cheetah
Raw Normal View History

2015-08-09 14:45:38 +00:00
<div class="ui compact small menu">
2015-11-16 15:14:12 +00:00
{{if not .CommitsCount}}
2015-08-09 14:45:38 +00:00
<a class="{{if .PageIsIssueList}}active{{end}} item" href="{{.RepoLink}}/issues">{{.i18n.Tr "repo.issues"}}</a>
2015-09-02 20:18:09 +00:00
<a class="{{if .PageIsPullList}}active{{end}} item" href="{{.RepoLink}}/pulls">{{.i18n.Tr "repo.pulls"}}</a>
2015-11-16 15:14:12 +00:00
{{end}}
2015-08-09 14:45:38 +00:00
<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>
2015-07-23 20:50:05 +00:00
</div>