nci/static/js/app/components/builds/item.jade

21 lines
479 B
Plaintext
Raw Normal View History

2015-05-09 20:19:25 +00:00
mixin statusText(build)
span #
2015-05-09 20:19:25 +00:00
span= build.id
span
2015-05-09 20:19:25 +00:00
if build.status === 'in-progress'
span current step is:
span= build.currentStep
if build.status === 'queued'
span build queued
if build.status === 'done'
span build done
.build(class="build__#{build.status}")
.pull-right
span= build.project.name
.build_header
+ statusText(build)
a.pull-right(href="javascript:void(0);", onClick=onBuildSelect(build.id), style={marginRight: '5px'}) show console output