You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
490 B
21 lines
490 B
4 years ago
|
<div class="repo-icon mr-3">
|
||
4 years ago
|
{{if $.IsTemplate}}
|
||
4 years ago
|
{{svg "octicon-repo-template" 32}}
|
||
5 years ago
|
{{else}}
|
||
4 years ago
|
{{if $.IsPrivate}}
|
||
|
{{svg "octicon-lock" 32}}
|
||
|
{{else if and (not $.IsMirror) (not $.IsFork) ($.Owner)}}
|
||
4 years ago
|
{{svg "octicon-repo" 32}}
|
||
4 years ago
|
{{if $.Owner.Visibility.IsPrivate}}
|
||
4 years ago
|
{{avatar $.Owner}}
|
||
4 years ago
|
{{end}}
|
||
|
{{else if $.IsMirror}}
|
||
4 years ago
|
{{svg "octicon-mirror" 32}}
|
||
4 years ago
|
{{else if $.IsFork}}
|
||
|
{{svg "octicon-repo-forked" 32}}
|
||
5 years ago
|
{{else}}
|
||
|
{{svg "octicon-repo" 32}}
|
||
|
{{end}}
|
||
|
{{end}}
|
||
4 years ago
|
</div>
|