2015-07-11 15:15:18 +00:00
|
|
|
.row
|
|
|
|
.col-md-8
|
|
|
|
h1
|
|
|
|
.pull-right
|
|
|
|
span.badge.badge-default= this.state.project.scm ? this.state.project.scm.rev : ''
|
|
|
|
|
|
|
|
Scm(scm=this.state.project.scm ? this.state.project.scm.type : '')
|
|
|
|
span= this.state.project.name
|
|
|
|
|
|
|
|
hr
|
|
|
|
div.text-muted
|
2015-07-12 20:24:09 +00:00
|
|
|
- var lastDoneBuild = this.state.project.lastDoneBuild;
|
|
|
|
p Last successfully build:
|
|
|
|
if lastDoneBuild
|
|
|
|
| build #
|
|
|
|
span= lastDoneBuild.number
|
|
|
|
| at
|
|
|
|
DateTime(date=new Date(lastDoneBuild.endDate))
|
|
|
|
else
|
|
|
|
| -
|
|
|
|
|
|
|
|
p Current successfully streak:
|
|
|
|
if lastDoneBuild
|
|
|
|
span= this.state.project.doneBuildsStreak
|
|
|
|
else
|
|
|
|
| -
|
|
|
|
|
|
|
|
p Last build duration:
|
|
|
|
if lastDoneBuild
|
|
|
|
span= lastDoneBuild.endDate - lastDoneBuild.startDate
|
|
|
|
else
|
|
|
|
| -
|
|
|
|
|
|
|
|
p Average build duration:
|
|
|
|
if this.state.project.avgBuildDuration
|
|
|
|
span= this.state.project.avgBuildDuration
|
|
|
|
else
|
|
|
|
| -
|
2015-07-11 15:15:18 +00:00
|
|
|
|
|
|
|
h2
|
|
|
|
i.fa.fa-fw.fa-history
|
|
|
|
span
|
|
|
|
span Build history
|
|
|
|
Builds()
|