2023-07-31 17:13:42 -05:00
|
|
|
<div class="repo-icon">
|
2023-08-08 02:29:35 -05:00
|
|
|
{{$avatarLink := .RelAvatarLink}}
|
|
|
|
{{if $avatarLink}}
|
|
|
|
<img class="ui avatar gt-vm" src="{{$avatarLink}}" width="32" height="32" alt="{{.FullName}}">
|
|
|
|
{{else if $.IsTemplate}}
|
2020-07-17 10:15:12 -05:00
|
|
|
{{svg "octicon-repo-template" 32}}
|
2023-08-08 02:29:35 -05:00
|
|
|
{{else if $.IsPrivate}}
|
|
|
|
{{svg "octicon-lock" 32}}
|
|
|
|
{{else if $.IsMirror}}
|
|
|
|
{{svg "octicon-mirror" 32}}
|
|
|
|
{{else if $.IsFork}}
|
|
|
|
{{svg "octicon-repo-forked" 32}}
|
2020-06-12 16:24:41 -05:00
|
|
|
{{else}}
|
2023-08-08 02:29:35 -05:00
|
|
|
{{svg "octicon-repo" 32}}
|
2020-06-12 16:24:41 -05:00
|
|
|
{{end}}
|
2020-06-25 19:07:15 -05:00
|
|
|
</div>
|