@(branch: String, commit: util.JGitUtil.CommitInfo, repository: service.ProjectService.RepositoryInfo, diffs: Seq[util.JGitUtil.DiffInfo])(implicit context: app.Context) @import context._ @import view.helpers @import org.eclipse.jgit.diff.DiffEntry.ChangeType @html.main(helpers.cut(commit.message, 20)){ @html.header("code", repository) @navtab(branch, repository, "commits")

@helpers.format(commit.message) @branch
@commit.committer @helpers.datetime(commit.time) commit @commit.id

@html.diff(diffs, repository, Some(commit.id)) }