summaryrefslogtreecommitdiffstats
path: root/templates/repo/icon.tmpl
blob: 70634a6348ebab2707d28060d20830fe6cc7d0d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<div class="repo-icon mr-3">
	{{if $.IsTemplate}}
		{{svg "octicon-repo-template" 32}}
	{{else}}
		{{if $.IsPrivate}}
			{{svg "octicon-lock" 32}}
		{{else if $.IsMirror}}
			{{svg "octicon-mirror" 32}}
		{{else if $.IsFork}}
			{{svg "octicon-repo-forked" 32}}
		{{else}}
			{{svg "octicon-repo" 32}}
		{{end}}
	{{end}}
</div>