2023-08-01 00:13:42 +02:00
|
|
|
<div class="repo-icon">
|
2023-08-08 09:29:35 +02:00
|
|
|
{{$avatarLink := .RelAvatarLink}}
|
|
|
|
{{if $avatarLink}}
|
|
|
|
<img class="ui avatar gt-vm" src="{{$avatarLink}}" width="32" height="32" alt="{{.FullName}}">
|
|
|
|
{{else if $.IsTemplate}}
|
2020-07-17 17:15:12 +02:00
|
|
|
{{svg "octicon-repo-template" 32}}
|
2023-08-08 09:29:35 +02:00
|
|
|
{{else if $.IsPrivate}}
|
|
|
|
{{svg "octicon-lock" 32}}
|
|
|
|
{{else if $.IsMirror}}
|
|
|
|
{{svg "octicon-mirror" 32}}
|
|
|
|
{{else if $.IsFork}}
|
|
|
|
{{svg "octicon-repo-forked" 32}}
|
2020-06-12 23:24:41 +02:00
|
|
|
{{else}}
|
2023-08-08 09:29:35 +02:00
|
|
|
{{svg "octicon-repo" 32}}
|
2020-06-12 23:24:41 +02:00
|
|
|
{{end}}
|
2020-06-26 02:07:15 +02:00
|
|
|
</div>
|