render git repo creation

This commit is contained in:
Anders Rune Jensen
2017-06-23 21:37:22 +02:00
parent ac8c79fc2f
commit 336a39d74f
+4
View File
@@ -401,6 +401,10 @@ function render(opts, c) {
(c.repoName != undefined ? " in repo " + c.repoName : ""), (c.repoName != undefined ? " in repo " + c.repoName : ""),
renderPost(opts, c))]; renderPost(opts, c))];
} }
else if (c.type == "git-repo") {
return h('span.status',
"Created a git repo " + c.name);
}
else if (c.type == "git-update") { else if (c.type == "git-update") {
var s = h('span.status'); var s = h('span.status');
s.innerHTML = "Did a git update " + s.innerHTML = "Did a git update " +