projects
/
zzz-spline-frontpage.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Show gravatars in git logs.
[zzz-spline-frontpage.git]
/
splinext
/
frontpage
/
templates
/
front_page
/
git.mako
diff --git
a/splinext/frontpage/templates/front_page/git.mako
b/splinext/frontpage/templates/front_page/git.mako
index
119aab3
..
4b70426
100644
(file)
--- a/
splinext/frontpage/templates/front_page/git.mako
+++ b/
splinext/frontpage/templates/front_page/git.mako
@@
-20,7
+20,11
@@
<tr>
<td class="hash"><a href="${update.source.gitweb}?p=${commit.repo}.git;a=commit;h=${commit.hash}">${commit.hash}</a></td>
<tr>
<td class="hash"><a href="${update.source.gitweb}?p=${commit.repo}.git;a=commit;h=${commit.hash}">${commit.hash}</a></td>
- <td class="author">${commit.author}</td>
+ <td class="author">
+ <%! import hashlib %>\
+ <img src="http://www.gravatar.com/avatar/${hashlib.md5(commit.email).hexdigest()}?s=16d=identicon" alt="">
+ ${commit.author}
+ </td>
<td class="subject">${commit.subject}</td>
<td class="time">${commit.time}</td>
</tr>
<td class="subject">${commit.subject}</td>
<td class="time">${commit.time}</td>
</tr>