summaryrefslogtreecommitdiffstats
path: root/templates/repo/graph/commits.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/graph/commits.tmpl')
-rw-r--r--templates/repo/graph/commits.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/graph/commits.tmpl b/templates/repo/graph/commits.tmpl
index 485227e9bf..0c1e777c34 100644
--- a/templates/repo/graph/commits.tmpl
+++ b/templates/repo/graph/commits.tmpl
@@ -64,10 +64,10 @@
{{if $commit.User.FullName}}
{{$userName = $commit.User.FullName}}
{{end}}
- {{avatar $commit.User}}
+ {{avatar $.Context $commit.User}}
<a href="{{$commit.User.HomeLink}}">{{$userName}}</a>
{{else}}
- {{avatarByEmail $commit.Commit.Author.Email $userName}}
+ {{avatarByEmail $.Context $commit.Commit.Author.Email $userName}}
{{$userName}}
{{end}}
</span>