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