Fork to maintain patches against the official gitea for https://code.ceondo.com https://github.com/go-gitea/gitea

navbar.tmpl 1.1KB

12345678910111213141516171819202122232425262728
  1. <div class="four wide column">
  2. <div class="ui vertical menu">
  3. <div class="header item">{{.i18n.Tr "repo.settings"}}</div>
  4. <a class="{{if .PageIsSettingsOptions}}active{{end}} item" href="{{.RepoLink}}/settings">
  5. {{.i18n.Tr "repo.settings.options"}}
  6. </a>
  7. <a class="{{if .PageIsSettingsCollaboration}}active{{end}} item" href="{{.RepoLink}}/settings/collaboration">
  8. {{.i18n.Tr "repo.settings.collaboration"}}
  9. </a>
  10. {{if not .Repository.IsBare}}
  11. <a class="{{if .PageIsSettingsBranches}}active{{end}} item" href="{{.RepoLink}}/settings/branches">
  12. {{.i18n.Tr "repo.settings.branches"}}
  13. </a>
  14. {{end}}
  15. <a class="{{if .PageIsSettingsHooks}}active{{end}} item" href="{{.RepoLink}}/settings/hooks">
  16. {{.i18n.Tr "repo.settings.hooks"}}
  17. </a>
  18. {{if .SignedUser.CanEditGitHook}}
  19. <a class="{{if .PageIsSettingsGitHooks}}active{{end}} item" href="{{.RepoLink}}/settings/hooks/git">
  20. {{.i18n.Tr "repo.settings.githooks"}}
  21. </a>
  22. {{end}}
  23. <a class="{{if .PageIsSettingsKeys}}active{{end}} item" href="{{.RepoLink}}/settings/keys">
  24. {{.i18n.Tr "repo.settings.deploy_keys"}}
  25. </a>
  26. </div>
  27. </div>