2023-10-10 22:24:07 -06:00
|
|
|
{{$avatarLink := (.RelAvatarLink ctx)}}
|
2023-08-28 08:14:51 -06:00
|
|
|
{{if $avatarLink}}
|
2024-03-22 07:45:10 -06:00
|
|
|
<img class="ui avatar tw-align-middle" src="{{$avatarLink}}" width="24" height="24" alt="{{.FullName}}">
|
2023-08-28 08:14:51 -06:00
|
|
|
{{else if $.IsMirror}}
|
2024-02-15 09:52:21 -07:00
|
|
|
{{svg "octicon-mirror" 24}}
|
2023-08-28 08:14:51 -06:00
|
|
|
{{else if $.IsFork}}
|
2024-02-15 09:52:21 -07:00
|
|
|
{{svg "octicon-repo-forked" 24}}
|
2023-08-28 08:14:51 -06:00
|
|
|
{{else}}
|
2024-02-15 09:52:21 -07:00
|
|
|
{{svg "octicon-repo" 24}}
|
2023-08-28 08:14:51 -06:00
|
|
|
{{end}}
|