.row .col-md-8 h1.clearfix .pull-right button.btn.btn-sm.btn-primary.dropdown-toggle( data-toggle="dropdown", aria-expanded="false" ) span= this.state.project.scm ? this.state.project.scm.rev : '' | span.caret | if this.state.project.name button.btn.btn-sm.btn-success(onClick=this.onBuildProject) i.fa.fa-fw.fa-play | span Build div Scm(scm=this.state.project.scm ? this.state.project.scm.type : '') span= this.state.project.name hr div.text-muted - 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 | - h2 i.fa.fa-fw.fa-history span span Build history Builds()