navbar.tmpl 1.2 KB

12345678910111213141516171819202122232425262728
  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 .PageIsSettingsPassword}}active{{end}} item" href="{{AppSubUrl}}/user/settings/password">
  8. {{.i18n.Tr "settings.password"}}
  9. </a>
  10. <a class="{{if .PageIsSettingsEmails}}active{{end}} item" href="{{AppSubUrl}}/user/settings/email">
  11. {{.i18n.Tr "settings.emails"}}
  12. </a>
  13. <a class="{{if .PageIsSettingsSSHKeys}}active{{end}} item" href="{{AppSubUrl}}/user/settings/ssh">
  14. {{.i18n.Tr "settings.ssh_keys"}}
  15. </a>
  16. {{if .HasOAuthService}}
  17. <a class="{{if .PageIsSettingsSocial}}active{{end}} item" href="{{AppSubUrl}}/user/settings/social">
  18. {{.i18n.Tr "settings.social"}}
  19. </a>
  20. {{end}}
  21. <a class="{{if .PageIsSettingsApplications}}active{{end}} item" href="{{AppSubUrl}}/user/settings/applications">
  22. {{.i18n.Tr "settings.applications"}}
  23. </a>
  24. <a class="{{if .PageIsSettingsDelete}}active{{end}} item" href="{{AppSubUrl}}/user/settings/delete">
  25. {{.i18n.Tr "settings.delete"}}
  26. </a>
  27. </div>
  28. </div>