var timePlugin = ActiveBuild.UiPlugin.extend({ id: 'build-time', css: 'col-lg-12 col-md-12 col-sm-12 col-xs-12', title: null, box: true, init: function(){ this._super(); }, render: function() { var created = ''; var started = ''; var finished = ''; if (ActiveBuild.buildData.created) { created = moment(ActiveBuild.buildData.created).format('ll LT'); } if (ActiveBuild.buildData.started) { started = moment(ActiveBuild.buildData.started).format('ll LT'); } if (ActiveBuild.buildData.finished) { finished = moment(ActiveBuild.buildData.finished).format('ll LT'); } return '
'+Lang.get('build_created')+' | ' + ''+Lang.get('build_started')+' | ' + ''+Lang.get('build_finished')+' | ' + '
---|---|---|
' + created + ' | ' + '' + started + ' | ' + '' + finished + ' | ' + '