You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
1.2 KiB

9 years ago
9 years ago
9 years ago
9 years ago
  1. {{if not .IsBareRepo}}
  2. <div class="ui {{if .IsRepositoryAdmin}}five{{else}}four{{end}} item menu">
  3. <a class="{{if .PageIsIssueList}}active{{end}} item" href="{{.RepoLink}}/issues">
  4. <i class="icon octicon octicon-issue-opened"></i> {{.i18n.Tr "repo.issues"}} <span class="ui blue label">{{.Repository.NumOpenIssues}}</span>
  5. </a>
  6. <a class="{{if .PageIsPullList}}active{{end}} item" href="{{.RepoLink}}/pulls">
  7. <i class="icon octicon octicon-git-pull-request"></i> {{.i18n.Tr "repo.pulls"}} <span class="ui blue label">{{.Repository.NumOpenPulls}}</span>
  8. </a>
  9. <a class="{{if .PageIsCommits}}active{{end}} item" href="{{.RepoLink}}/commits/{{EscapePound .BranchName}}">
  10. <i class="icon octicon octicon-history"></i> {{.i18n.Tr "repo.commits"}} <span class="ui blue label">{{.CommitsCount}}</span>
  11. </a>
  12. <a class="{{if .PageIsReleaseList}}active{{end}} item" href="{{.RepoLink}}/releases">
  13. <i class="icon octicon octicon-tag"></i> {{.i18n.Tr "repo.releases"}} <span class="ui blue label">{{.Repository.NumTags}}</span>
  14. </a>
  15. {{if .IsRepositoryAdmin}}
  16. <a class="{{if .PageIsSettings}}active{{end}} item" href="{{.RepoLink}}/settings">
  17. <i class="icon octicon octicon-tools"></i> {{.i18n.Tr "repo.settings"}}
  18. </a>
  19. {{end}}
  20. </div>
  21. {{end}}