.builds.builds__timeline.builds__timeline-small each item in this.state.items - var buildItemClasses = ['builds_item__' + item.status]; - if (item.id === this.props.currentBuild.id) buildItemClasses.push('builds_item__current'); .builds_item(key=item.id, class=buildItemClasses) .builds_inner .row .builds_header Link(to="build", params={id: item.id}) span build # span= item.number .builds_controls if item.status === 'in-progress' .builds_progress if item.project.avgBuildDuration Progress(build=item) if !item.endDate DateTime(value=item.endDate)