mirror of
https://gitlab.silvrtree.co.uk/martind2000/nci.git
synced 2025-01-26 02:36:17 +00:00
21 lines
639 B
Plaintext
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)
|