nci/static/js/app/components/buildSidebar/index.jade
2015-12-23 22:56:31 +03:00

21 lines
639 B
Plaintext

.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)