diff --git a/src/main/twirl/repo/blob.scala.html b/src/main/twirl/repo/blob.scala.html index 9df602c..52e2bb0 100644 --- a/src/main/twirl/repo/blob.scala.html +++ b/src/main/twirl/repo/blob.scala.html @@ -33,7 +33,7 @@
@avatar(latestCommit, 20) - @user(latestCommit.committerName, latestCommit.committerEmailAddress, "username strong") + @user(latestCommit.authorName, latestCommit.authorEmailAddress, "username strong") @datetime(latestCommit.commitTime) @link(latestCommit.summary, repository)
diff --git a/src/main/twirl/repo/commits.scala.html b/src/main/twirl/repo/commits.scala.html index ae93996..be2b02f 100644 --- a/src/main/twirl/repo/commits.scala.html +++ b/src/main/twirl/repo/commits.scala.html @@ -57,8 +57,13 @@ }
- @user(commit.committerName, commit.committerEmailAddress, "username") - @datetime(commit.commitTime) + @user(commit.authorName, commit.authorEmailAddress, "username") + authored @datetime(commit.authorTime) + @if(commit.isDifferentFromAuthor) { + + @user(commit.committerName, commit.committerEmailAddress, "username") + committed @datetime(commit.authorTime) + }
diff --git a/src/main/twirl/wiki/history.scala.html b/src/main/twirl/wiki/history.scala.html index 6c5c2ac..bd2ba49 100644 --- a/src/main/twirl/wiki/history.scala.html +++ b/src/main/twirl/wiki/history.scala.html @@ -34,9 +34,9 @@ @commits.map { commit => - @avatar(commit, 20) @user(commit.committerName, commit.committerEmailAddress) + @avatar(commit, 20) @user(commit.authorName, commit.authorEmailAddress) - @datetime(commit.commitTime): @commit.shortMessage + @datetime(commit.authorTime): @commit.shortMessage }