@(commits: Seq[Seq[gitbucket.core.util.JGitUtil.CommitInfo]], comments: Option[List[gitbucket.core.model.Comment]] = None, repository: gitbucket.core.service.RepositoryService.RepositoryInfo)(implicit context: gitbucket.core.controller.Context) @import gitbucket.core.view.helpers

@commits.map { day =>
@helpers.date(day.head.commitTime) @day.zipWithIndex.map { case (commit, i) => @if(i != 0){
} @commit.id.substring(0, 7) Browse files » @helpers.avatarLink(commit, 40) @helpers.link(commit.summary, repository) @if(commit.description.isDefined){ ... } @if(commit.description.isDefined){
    @helpers.link(commit.description.get, repository)
} @if(commit.isDifferentFromAuthor) { @helpers.user(commit.authorName, commit.authorEmailAddress, "username") authored @gitbucket.core.helper.html.datetimeago(commit.authorTime) } @helpers.user(commit.committerName, commit.committerEmailAddress, "username") committed @gitbucket.core.helper.html.datetimeago(commit.commitTime)
} }