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