@(issue: gitbucket.core.model.Issue, pullreq: gitbucket.core.model.PullRequest, commits: Seq[Seq[gitbucket.core.util.JGitUtil.CommitInfo]], 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, comments, changedFileSize, isManageable, repository){
@helpers.date(day.head.commitTime) | @day.zipWithIndex.map { case (commit, i) => @if(i != 0){
---|
@helpers.avatarLink(commit, 40)
...
}
@if(commit.description.isDefined){
@if(commit.description.isDefined){ }
@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)
|