navbar.tmpl 1.6 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <div class="four wide column">
  2. <div class="ui vertical menu">
  3. <div class="header item">{{.i18n.Tr "settings"}}</div>
  4. <a class="{{if .PageIsSettingsProfile}}active{{end}} item" href="{{AppSubURL}}/user/settings">
  5. {{.i18n.Tr "settings.profile"}}
  6. </a>
  7. <a class="{{if .PageIsSettingsAvatar}}active{{end}} item" href="{{AppSubURL}}/user/settings/avatar">
  8. {{.i18n.Tr "settings.avatar"}}
  9. </a>
  10. <a class="{{if .PageIsSettingsPassword}}active{{end}} item" href="{{AppSubURL}}/user/settings/password">
  11. {{.i18n.Tr "settings.password"}}
  12. </a>
  13. <a class="{{if .PageIsSettingsEmails}}active{{end}} item" href="{{AppSubURL}}/user/settings/email">
  14. {{.i18n.Tr "settings.emails"}}
  15. </a>
  16. <a class="{{if .PageIsSettingsSSHKeys}}active{{end}} item" href="{{AppSubURL}}/user/settings/ssh">
  17. {{.i18n.Tr "settings.ssh_keys"}}
  18. </a>
  19. <a class="{{if .PageIsSettingsSecurity}}active{{end}} item" href="{{AppSubURL}}/user/settings/security">
  20. {{.i18n.Tr "settings.security"}}
  21. </a>
  22. <a class="{{if .PageIsSettingsRepositories}}active{{end}} item" href="{{AppSubURL}}/user/settings/repositories">
  23. {{.i18n.Tr "settings.repos"}}
  24. </a>
  25. <a class="{{if .PageIsSettingsOrganizations}}active{{end}} item" href="{{AppSubURL}}/user/settings/organizations">
  26. {{.i18n.Tr "settings.orgs"}}
  27. </a>
  28. <a class="{{if .PageIsSettingsApplications}}active{{end}} item" href="{{AppSubURL}}/user/settings/applications">
  29. {{.i18n.Tr "settings.applications"}}
  30. </a>
  31. <a class="{{if .PageIsSettingsDelete}}active{{end}} item" href="{{AppSubURL}}/user/settings/delete">
  32. {{.i18n.Tr "settings.delete"}}
  33. </a>
  34. </div>
  35. </div>