(refs #33)Match committer by mail address.

This commit is contained in:
takezoe
2013-07-12 04:27:20 +09:00
parent 60cd1320d2
commit 828688ddd0
6 changed files with 37 additions and 13 deletions

View File

@@ -36,8 +36,8 @@
<tr>
<td colspan="4" class="latest-commit">
<div>
@avatar(latestCommit.committer, 20)
<a href="@url(latestCommit.committer)" class="username strong">@latestCommit.committer</a>
@avatar(latestCommit.mailAddress, 20)
@user(latestCommit.committer, latestCommit.mailAddress, "username strong")
<span class="muted">@datetime(latestCommit.time)</span>
<div class="pull-right align-right monospace">
<a href="@url(repository)/commit/@latestCommit.id" class="commit-id"><span class="muted">latest commit</span> @latestCommit.id.substring(0, 10)</a>
@@ -70,7 +70,10 @@
}
</td>
<td>@datetime(file.time)</td>
<td><a href="@url(repository)/commit/@file.commitId" class="commit-message">@link(file.message, repository)</a> [<a href="@url(file.committer)">@file.committer</a>]</td>
<td>
<a href="@url(repository)/commit/@file.commitId" class="commit-message">@link(file.message, repository)</a>
[@user(file.committer, file.mailAddress)]
</td>
</tr>
}
</table>