users.tmpl 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  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. <i class="octicon octicon-mail"></i>
  20. <a href="mailto:{{.Email}}" rel="nofollow">{{.Email}}</a>
  21. {{end}}
  22. <i class="octicon octicon-clock"></i> {{$.i18n.Tr "user.join_on"}} {{DateFmtShort .Created}}
  23. </div>
  24. </div>
  25. </div>
  26. {{end}}
  27. </div>
  28. {{template "explore/page" .}}
  29. </div>
  30. </div>
  31. </div>
  32. </div>
  33. {{template "base/footer" .}}