nci/static/js/app/components/builds/item.jade
2015-05-09 23:22:05 +03:00

21 lines
479 B
Plaintext

mixin statusText(build)
span #
span= build.id
span
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