users.tmpl 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. {{template "base/head" .}}
  2. <div class="explore users">
  3. <div class="ui container">
  4. <div class="ui grid">
  5. {{template "explore/navbar" .}}
  6. <div class="twelve wide column content">
  7. {{template "explore/search" .}}
  8. <div class="ui user list">
  9. {{range .Users}}
  10. <div class="item">
  11. <img class="ui avatar image" src="{{.RelAvatarLink}}">
  12. <div class="content">
  13. <span class="header"><a href="{{.HomeLink}}">{{.Name}}</a> {{.FullName}}</span>
  14. <div class="description">
  15. {{if .Location}}
  16. <i class="octicon octicon-location"></i> {{.Location}}
  17. {{end}}
  18. {{if and .Email $.IsLogged }}
  19. {{if not .HideEmail }}
  20. <i class="octicon octicon-mail"></i>
  21. <a href="mailto:{{.Email}}" rel="nofollow">{{.Email}}</a>
  22. {{end}}
  23. {{end}}
  24. <i class="octicon octicon-clock"></i> {{$.i18n.Tr "user.join_on"}} {{DateFmtShort .Created}}
  25. </div>
  26. </div>
  27. </div>
  28. {{end}}
  29. </div>
  30. {{template "explore/page" .}}
  31. </div>
  32. </div>
  33. </div>
  34. </div>
  35. {{template "base/footer" .}}