navbar.tmpl 930 B

12345678910111213141516171819202122
  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. <a class="{{if .PageIsSettingsHooks}}active{{end}} item" href="{{.RepoLink}}/settings/hooks">
  11. {{.i18n.Tr "repo.settings.hooks"}}
  12. </a>
  13. {{if .SignedUser.CanEditGitHook}}
  14. <a class="{{if .PageIsSettingsGitHooks}}active{{end}} item" href="{{.RepoLink}}/settings/hooks/git">
  15. {{.i18n.Tr "repo.settings.githooks"}}
  16. </a>
  17. {{end}}
  18. <a class="{{if .PageIsSettingsKeys}}active{{end}} item" href="{{.RepoLink}}/settings/keys">
  19. {{.i18n.Tr "repo.settings.deploy_keys"}}
  20. </a>
  21. </div>
  22. </div>