forks.tmpl 776 B

123456789101112131415161718192021222324252627282930
  1. {{template "base/head" .}}
  2. <div class="repository forks">
  3. {{template "repo/header" .}}
  4. <div class="ui container">
  5. <h2 class="ui dividing header">
  6. {{.i18n.Tr "repo.forks"}}
  7. </h2>
  8. <div class="ui list">
  9. {{range .Forks}}
  10. <div class="item">
  11. {{ if not .IsPrivate }}
  12. <img class="ui avatar image" src="{{.Owner.RelAvatarLink}}">
  13. <div class="link">
  14. <a href="{{AppSubURL}}/{{.Owner.Name}}">{{.Owner.Name}}</a>
  15. /
  16. <a href="{{AppSubURL}}/{{.Owner.Name}}/{{.Name}}">{{.Name}}</a>
  17. </div>
  18. {{else}}
  19. <img class="ui avatar image" src="{{AppSubURL}}/avatars/0">
  20. <div class="link">
  21. Hidden / Private Repository
  22. </div>
  23. {{end}}
  24. </div>
  25. {{end}}
  26. </div>
  27. </div>
  28. </div>
  29. {{template "base/footer" .}}