git ssb

30+

cel / git-ssb-web



Commit f9ae255137056af9ca9eb15af5390590f1d282a5

Prefer to show author date instead of commit date

Charles Lehner committed on 3/27/2016, 11:15:08 PM
Parent: 904d0ff95d9058585ff4f87964d27cb15aeb9f43

Files changed

index.jschanged
index.jsView
@@ -916,10 +916,10 @@
916916 return '<section class="collapse">' +
917917 '<strong>' + link(commitPath, commit.title) + '</strong><br>' +
918918 '<code>' + commit.id + '</code> ' +
919919 link(treePath, 'Tree') + '<br>' +
920- (commit.separateAuthor ? escapeHTML(commit.author.name) + ' authored on ' + commit.author.date.toLocaleString() + '<br>' : '') +
921- escapeHTML(commit.committer.name) + ' committed on ' + commit.committer.date.toLocaleString() +
920+ escapeHTML(commit.author.name) + ' &middot; ' + commit.author.date.toLocaleString() +
921+ (commit.separateAuthor ? '<br>' + escapeHTML(commit.committer.name) + ' committed on ' + commit.committer.date.toLocaleString() : "") +
922922 '</section>'
923923 }
924924
925925 /* Repo tree */

Built with git-ssb-web