show status and time at the end of build

This commit is contained in:
oleg 2015-12-08 23:33:12 +03:00
parent d68d679210
commit aa642e163c
2 changed files with 11 additions and 1 deletions

View File

@ -39,7 +39,7 @@ content
## Feature requests
* should write at the end of build console out that build is done (or error)
* ~~should write at the end of build console out that build is done (or error)~~
* ~~share workspace files at static~~
* "clear workspace" button
* show more builds button (or infinity scroll) on start page

View File

@ -115,3 +115,13 @@ div.row
| Console output
.build-view_terminal
Terminal(build=this.state.build.id)
if this.state.build.completed
if this.state.build.error
.text-center.alert.alert-danger
| Build ended with error
Duration(value=(this.state.build.endDate - this.state.build.startDate), withSuffix=true)
else
.text-center.alert.alert-success
| Build successfully completed
Duration(value=(this.state.build.endDate - this.state.build.startDate), withSuffix=true)