@(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 context._ @import gitbucket.core.view.helpers._ @import gitbucket.core.model._ @commits.map { day => @day.zipWithIndex.map { case (commit, i) => @if(i != 0){ } } }
@date(day.head.commitTime)
@avatarLink(commit, 40)
@link(commit.summary, repository) @if(commit.description.isDefined){ ... }
@if(commit.description.isDefined){ }
@if(commit.isDifferentFromAuthor) { @user(commit.authorName, commit.authorEmailAddress, "username") authored @helper.html.datetimeago(commit.authorTime) } @user(commit.committerName, commit.committerEmailAddress, "username") committed @helper.html.datetimeago(commit.commitTime)