mirror of
https://gitlab.silvrtree.co.uk/martind2000/nci.git
synced 2025-01-12 15:05:09 +00:00
16 lines
517 B
Plaintext
16 lines
517 B
Plaintext
- 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
|
|
|
|
if itemsCount && itemsCount % 20 === 0
|
|
.text-center
|
|
a.btn.btn-sm.btn-default(href="javascript:void(0);", onClick=this.onShowMoreBuilds(this.props.projectName))
|
|
i.fa.fa-fw.fa-plus(title="Show more builds")
|
|
|
|
|
| Show more builds
|