Better connected to pub message

This commit is contained in:
Anders Rune Jensen
2017-05-12 21:00:13 +02:00
parent bff02dfad0
commit 7f394d0394
+2 -4
View File
@@ -391,7 +391,6 @@ function render(opts, c) {
return '<span class="status">' + return '<span class="status">' +
"Created a git issue" + (c.repoName != undefined ? " in repo " + c.repoName : "") + renderPost(opts, c) + "Created a git issue" + (c.repoName != undefined ? " in repo " + c.repoName : "") + renderPost(opts, c) +
'</span>'; '</span>';
//renderDefault(c);
} }
else if (c.type == "git-update") { else if (c.type == "git-update") {
return '<span class="status">' + return '<span class="status">' +
@@ -408,9 +407,8 @@ function render(opts, c) {
} }
else if (c.type == "pub") { else if (c.type == "pub") {
return '<span class="status">' + return '<span class="status">' +
"Connected to a pub" + "Connected to the pub " + c.address.host +
'</span>' + '</span>'
renderDefault(c);
} }
else if (c.type == "channel" && c.subscribed) else if (c.type == "channel" && c.subscribed)
return '<span class="status">' + return '<span class="status">' +