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