Fix git update rendering
This commit is contained in:
@@ -402,12 +402,13 @@ function render(opts, c) {
|
|||||||
renderPost(opts, c))];
|
renderPost(opts, c))];
|
||||||
}
|
}
|
||||||
else if (c.type == "git-update") {
|
else if (c.type == "git-update") {
|
||||||
return h('span.status',
|
var s = h('span.status');
|
||||||
"Did a git update " +
|
s.innerHTML = "Did a git update " +
|
||||||
(c.repoName != undefined ? " in repo " + c.repoName : "") +
|
(c.repoName != undefined ? " in repo " + c.repoName : "") +
|
||||||
'<br>' +
|
'<br>' +
|
||||||
(c.commits != undefined ?
|
(c.commits != undefined ?
|
||||||
c.commits.map(com => { return "-" +com.title; }).join('<br>') : ""));
|
c.commits.map(com => { return "-" +com.title; }).join('<br>') : "");
|
||||||
|
return s;
|
||||||
}
|
}
|
||||||
else if (c.type == "ssb-dns") {
|
else if (c.type == "ssb-dns") {
|
||||||
return [h('span.status', 'Updated DNS'), renderDefault(c)];
|
return [h('span.status', 'Updated DNS'), renderDefault(c)];
|
||||||
|
|||||||
Reference in New Issue
Block a user