Commit f9ae255137056af9ca9eb15af5390590f1d282a5
Prefer to show author date instead of commit date
Charles Lehner committed on 3/27/2016, 11:15:08 PMParent: 904d0ff95d9058585ff4f87964d27cb15aeb9f43
Files changed
index.js | changed |
index.js | ||
---|---|---|
@@ -916,10 +916,10 @@ | ||
916 | 916 | return '<section class="collapse">' + |
917 | 917 | '<strong>' + link(commitPath, commit.title) + '</strong><br>' + |
918 | 918 | '<code>' + commit.id + '</code> ' + |
919 | 919 | 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) + ' · ' + commit.author.date.toLocaleString() + | |
921 | + (commit.separateAuthor ? '<br>' + escapeHTML(commit.committer.name) + ' committed on ' + commit.committer.date.toLocaleString() : "") + | |
922 | 922 | '</section>' |
923 | 923 | } |
924 | 924 | |
925 | 925 | /* Repo tree */ |
Built with git-ssb-web