2023-10-11 00:24:07 -04:00
|
|
|
{{$avatarLink := (.RelAvatarLink ctx)}}
|
2023-08-28 10:14:51 -04:00
|
|
|
{{if $avatarLink}}
|
2024-02-15 11:52:21 -05:00
|
|
|
<img class="ui avatar gt-vm" src="{{$avatarLink}}" width="24" height="24" alt="{{.FullName}}">
|
2023-08-28 10:14:51 -04:00
|
|
|
{{else if $.IsMirror}}
|
2024-02-15 11:52:21 -05:00
|
|
|
{{svg "octicon-mirror" 24}}
|
2023-08-28 10:14:51 -04:00
|
|
|
{{else if $.IsFork}}
|
2024-02-15 11:52:21 -05:00
|
|
|
{{svg "octicon-repo-forked" 24}}
|
2023-08-28 10:14:51 -04:00
|
|
|
{{else}}
|
2024-02-15 11:52:21 -05:00
|
|
|
{{svg "octicon-repo" 24}}
|
2023-08-28 10:14:51 -04:00
|
|
|
{{end}}
|