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