summaryrefslogtreecommitdiffstats
path: root/templates/repo/commits_list_small.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/commits_list_small.tmpl')
-rw-r--r--templates/repo/commits_list_small.tmpl4
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/repo/commits_list_small.tmpl b/templates/repo/commits_list_small.tmpl
index 900d853601..6bbc19529f 100644
--- a/templates/repo/commits_list_small.tmpl
+++ b/templates/repo/commits_list_small.tmpl
@@ -6,9 +6,7 @@
<div class="singular-commit" id="{{$tag}}">
<span class="badge badge-commit">{{svg "octicon-git-commit"}}</span>
{{if .User}}
- <a href="{{.User.HomeLink}}">
- {{avatar $.root.Context .User}}
- </a>
+ <a class="avatar" href="{{.User.HomeLink}}">{{avatar $.root.Context .User}}</a>
{{else}}
{{avatarByEmail $.root.Context .Author.Email .Author.Name}}
{{end}}