@(issue: gitbucket.core.model.Issue, pullreq: gitbucket.core.model.PullRequest, commits: Seq[Seq[(gitbucket.core.util.JGitUtil.CommitInfo, Option[(gitbucket.core.model.CommitState, List[gitbucket.core.model.CommitStatus])])]], comments: Seq[gitbucket.core.model.Comment], changedFileSize: Int, isManageable: Boolean, repository: gitbucket.core.service.RepositoryService.RepositoryInfo)(implicit context: gitbucket.core.controller.Context) @import gitbucket.core.view.helpers @gitbucket.core.pulls.html.menu("commits", issue, pullreq, commits.flatten.map(_._1), comments, changedFileSize, isManageable, repository){

@commits.map { day =>
@helpers.date(day.head._1.commitTime) @day.zipWithIndex.map { case ((commit, status), 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) @status.map { case (summary, statuses) => @gitbucket.core.helper.html.commitstatus(commit.id, summary, statuses) }
} }

}