Feature: add deployment + deployment logs

This commit is contained in:
2015-11-25 15:13:00 +00:00
parent 9c8ed27c1b
commit e135c5d2c6
19 changed files with 416 additions and 68 deletions

View File

@@ -0,0 +1,21 @@
Template.deploymentsList.helpers({
deployments: function () {
return DeploymentService.list();
}
});
Template.deploymentDetails.helpers({
format: function() {
return this.data.replace(/\n/g, '<br />');
},
running: function() {
var string = this.status;
return string.charAt(0).toUpperCase() + string.slice(1);
}
});
Template.deploymentBtn.helpers({
running: function() {
return this.status === 'pending' ? 'visible' : 'hidden';
}
})