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.

20 lines
535 B

  1. <div class="repo-header-icon">
  2. {{if $.IsTemplate}}
  3. {{svg "octicon-repo-template" 32}}
  4. {{else}}
  5. {{if $.IsPrivate}}
  6. {{svg "octicon-lock" 32}}
  7. {{else if and (not $.IsMirror) (not $.IsFork) ($.Owner)}}
  8. {{svg "octicon-repo" 32}}
  9. {{if $.Owner.Visibility.IsPrivate}}
  10. <img class="ui avatar image" src="{{$.Owner.RelAvatarLink}}">
  11. {{end}}
  12. {{else if $.IsMirror}}
  13. {{svg "octicon-mirror" 32}}
  14. {{else if $.IsFork}}
  15. {{svg "octicon-repo-forked" 32}}
  16. {{else}}
  17. {{svg "octicon-repo" 32}}
  18. {{end}}
  19. {{end}}
  20. </div>