git ssb

9+

cel / ssb-viewer



Commit 7f394d03949443d633bc5e40439fd356ee474e66

Better connected to pub message

Anders Rune Jensen committed on 5/12/2017, 7:00:13 PM
Parent: bff02dfad025baf27f2ed85aa4ef08854a84c8df

Files changed

render.jschanged
render.jsView
@@ -390,9 +390,8 @@
390390 else if (c.type == "issue") {
391391 return '<span class="status">' +
392392 "Created a git issue" + (c.repoName != undefined ? " in repo " + c.repoName : "") + renderPost(opts, c) +
393393 '</span>';
394- //renderDefault(c);
395394 }
396395 else if (c.type == "git-update") {
397396 return '<span class="status">' +
398397 "Did a git update " + (c.repoName != undefined ? " in repo " + c.repoName : "") +
@@ -407,11 +406,10 @@
407406 renderDefault(c);
408407 }
409408 else if (c.type == "pub") {
410409 return '<span class="status">' +
411- "Connected to a pub" +
412- '</span>' +
413- renderDefault(c);
410 + "Connected to the pub " + c.address.host +
411 + '</span>'
414412 }
415413 else if (c.type == "channel" && c.subscribed)
416414 return '<span class="status">' +
417415 'Subscribed to channel <a href="' + base + 'channel/' +

Built with git-ssb-web