Commit 31974ef79d8bbeb12649ee247b9d973b746c9b5d
render shortened commit ids
Ev Bogue committed on 6/24/2017, 5:19:31 PMParent: d79e05a9ca08e3f87f30a3f3a5a53d3f985da1ed
Files changed
index.js | changed |
index.js | ||
---|---|---|
@@ -618,9 +618,9 @@ | ||
618 | 618 … | return ' created an issue' |
619 | 619 … | else if (c.type == 'git-update') |
620 | 620 … | return ' pushed to <a href="http://gitmx.com/'+ encodeURIComponent(c.repo) + '/">' + c.repo.substring(0, 10)+'...' + '</a><ul>' + |
621 | 621 … | (c.commits != undefined ? |
622 | - c.commits.map(com => { return '<li>' + com.title + '</li>' }).join('') : "</ul>") | |
622 … | + c.commits.map(com => { return '<li><code>' + com.sha1.substring(0, 10) + '</code> "' + com.title + '"</li>' }).join('') : "</ul>") | |
623 | 623 … | else if (c.type == 'ssb-dns') |
624 | 624 … | return ' updated dns' |
625 | 625 … | else if (c.type == 'pub') |
626 | 626 … | return ' connected to a pub' |
Built with git-ssb-web