本站源代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 satır
1.1KB

  1. {{template "base/head" .}}
  2. <div class="user settings organization">
  3. {{template "user/settings/navbar" .}}
  4. <div class="ui container">
  5. {{template "base/alert" .}}
  6. <h4 class="ui top attached header">
  7. {{.i18n.Tr "settings.orgs"}}
  8. {{if .SignedUser.CanCreateOrganization}}
  9. <div class="ui right">
  10. <a class="ui black tiny button" href="{{AppSubUrl}}/org/create">{{.i18n.Tr "admin.orgs.new_orga"}}</a>
  11. </div>
  12. {{end}}
  13. </h4>
  14. <div class="ui attached segment orgs">
  15. {{if .Orgs}}
  16. <div class="ui middle aligned divided list">
  17. {{range .Orgs}}
  18. <div class="item">
  19. <div class="right floated content">
  20. <a class="ui blue small button" href="{{AppSubUrl}}/org/{{.Name}}/members/action/leave?uid={{.ID}}">{{$.i18n.Tr "org.members.leave"}}</a>
  21. </div>
  22. <img class="ui mini image" src="{{.RelAvatarLink}}">
  23. <div class="content">
  24. <a href="{{.HomeLink}}">{{.Name}}</a>
  25. </div>
  26. </div>
  27. {{end}}
  28. </div>
  29. {{else}}
  30. {{.i18n.Tr "settings.orgs_none"}}
  31. {{end}}
  32. </div>
  33. </div>
  34. </div>
  35. {{template "base/footer" .}}
上海开阖软件有限公司 沪ICP备12045867号-1