navbar.tmpl 1.4 KB

1234567891011121314151617181920212223242526272829303132
  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 .PageIsSettingsRepositories}}active{{end}} item" href="{{AppSubUrl}}/user/settings/repositories">
  20. {{.i18n.Tr "settings.repos"}}
  21. </a>
  22. <a class="{{if .PageIsSettingsOrganizations}}active{{end}} item" href="{{AppSubUrl}}/user/settings/organizations">
  23. {{.i18n.Tr "settings.orgs"}}
  24. </a>
  25. <a class="{{if .PageIsSettingsApplications}}active{{end}} item" href="{{AppSubUrl}}/user/settings/applications">
  26. {{.i18n.Tr "settings.applications"}}
  27. </a>
  28. <a class="{{if .PageIsSettingsDelete}}active{{end}} item" href="{{AppSubUrl}}/user/settings/delete">
  29. {{.i18n.Tr "settings.delete"}}
  30. </a>
  31. </div>
  32. </div>