Skip to content

Commit 3573152

Browse files
committed
Fork list uses owner's avatar
1 parent f5c2d31 commit 3573152

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

templates/shared/repo/list.tmpl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
{{range .Repos}}
33
<div class="flex-item">
44
<div class="flex-item-leading">
5-
{{template "repo/icon" .}}
5+
{{if $.IsForksPage}}
6+
{{ctx.AvatarUtils.Avatar .Owner 24}}
7+
{{else}}
8+
{{template "repo/icon" .}}
9+
{{end}}
610
</div>
711
<div class="flex-item-main">
812
<div class="flex-item-header">

0 commit comments

Comments
 (0)