navbar.tmpl 1.1 KB

1234567891011121314151617181920212223242526
  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 .PageIsSettingsApplications}}active{{end}} item" href="{{AppSubUrl}}/user/settings/applications">
  20. {{.i18n.Tr "settings.applications"}}
  21. </a>
  22. <a class="{{if .PageIsSettingsDelete}}active{{end}} item" href="{{AppSubUrl}}/user/settings/delete">
  23. {{.i18n.Tr "settings.delete"}}
  24. </a>
  25. </div>
  26. </div>