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

9 lines
277 B
Plaintext
Raw Normal View History

- var itemsCount = this.state.items.length;
if itemsCount
.builds.builds__timeline.builds__timeline-large(class="builds__timeline-#{itemsCount % 2 ? 'left' : 'right'}")
each build, index in this.state.items
Item(build=build, key=build.id)
else
p Build history is empty