(refs #437)Show author instead of committer

* Explicit classify committer and author
* Use author to render avatar image html
* Support commit view
This commit is contained in:
Tomofumi Tanaka
2014-07-28 23:07:26 +09:00
parent 723de9e81e
commit 2bb1f6168a
13 changed files with 60 additions and 30 deletions

View File

@@ -106,7 +106,7 @@ trait RepositoryViewerControllerBase extends ControllerBase {
case Right((logs, hasNext)) =>
repo.html.commits(if(path.isEmpty) Nil else path.split("/").toList, branchName, repository,
logs.splitWith{ (commit1, commit2) =>
view.helpers.date(commit1.time) == view.helpers.date(commit2.time)
view.helpers.date(commit1.commitTime) == view.helpers.date(commit2.commitTime)
}, page, hasNext)
case Left(_) => NotFound
}