gogs/templates/repo/issue/navbar.tmpl

8 lines
535 B
Cheetah
Raw Normal View History

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