gitea/templates/repo/issue/navbar.tmpl

8 lines
537 B
Cheetah
Raw Normal View History

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